summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/mullvad-nsis.yml
blob: bb3488f471aca0bf8f963d60969ed4ebbf521af6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
name: Check mullvad-nsis
on:
  pull_request:
    paths:
      - mullvad-nsis/**
  workflow_dispatch:

permissions: {}

jobs:
  check-mullvad-nsis:
    runs-on: windows-latest
    steps:
      # By default, the longest path a filename can have in git on Windows is 260 character.
      - name: Set git config for long paths
        run: git config --system core.longpaths true

      - name: Checkout repository
        uses: actions/checkout@v4

      - uses: ./.github/actions/mullvad-build-env

      - name: Build mullvad-nsis
        shell: bash
        run: cargo build --target i686-pc-windows-msvc -p mullvad-nsis

      - name: Check working directory is clean
        shell: bash
        run: git diff --exit-code HEAD --