diff options
author | jkito <jkito@github> | 2022-10-25 21:51:51 +0530 |
---|---|---|
committer | jkito <jkito@github> | 2022-11-13 15:02:58 +0530 |
commit | a4dad70dafc5e08af51ff39d7bc9a3d542542e3c (patch) | |
tree | 7c153b36093db0217a3d3c839dcc96990686031a | |
parent | ad6c13cd65aaf1c571d3dd4058dfe94557925ce3 (diff) |
[ghaci] Add github actions job to produce windows artifacts
-rw-r--r-- | .github/workflows/nightly.yaml | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index adf7536..a2ac046 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -6,6 +6,12 @@ name: 'mac and windows nightly build' on: workflow_dispatch: + inputs: + debug_enabled: + type: boolean + description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' + required: false + default: false push: branches: - main @@ -23,8 +29,35 @@ jobs: runs-on: - windows-2019 steps: + - name: Setup Golang 1.17 + uses: actions/setup-go@v3 + with: + go-version: '1.17' + - name: Install build dependencies from chocolatey + run: choco install qt5-default mingw sigcheck qt-installer-framework + - run: git config --global core.autocrlf input - name: Checkout uses: actions/checkout@v3 + - name: Set up Cygwin + uses: cygwin/cygwin-install-action@master + with: + packages: make curl + - name: Build app + run: | + $env:PATH="$env:SystemDrive\Qt\5.15.2\mingw81_64\bin;$env:SystemDrive\Qt\QtIFW-4.4.2\bin;$env:PATH" + echo $env:PATH + make build + make installer + - name: Upload build/qt/release/riseup-vpn.exe + uses: actions/upload-artifact@v3 + with: + name: riseup-vpn-exe-${{ github.sha }} + path: build/qt/release/riseup-vpn.exe + - name: Upload build/installer/RiseupVPN-installer-*.exe + uses: actions/upload-artifact@v3 + with: + name: riseup-vpn-installer-${{ github.sha }} + path: build/installer/*.exe build-mac: runs-on: @@ -64,5 +97,3 @@ jobs: with: name: riseup-vpn-dmg-${{ github.sha }} path: deploy/RiseupVPN-unknown.dmg - - |