summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorMarkus Pettersson <markus.pettersson@mullvad.net>2025-03-03 09:51:53 +0100
committerMarkus Pettersson <markus.pettersson@mullvad.net>2025-03-05 12:53:57 +0100
commitf63a91a73cb14c4660c25ddf4e2d13ace6ad9681 (patch)
tree5e2607aba664aff936527f82cba09caadf1930d7 /.github
parentf1fa97ee5eb206e2dfff4b0ecf8bd1ee396a6d09 (diff)
downloadmullvadvpn-f63a91a73cb14c4660c25ddf4e2d13ace6ad9681.tar.xz
mullvadvpn-f63a91a73cb14c4660c25ddf4e2d13ace6ad9681.zip
Build binaries only if the target platform is Linux
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/desktop-e2e.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/desktop-e2e.yml b/.github/workflows/desktop-e2e.yml
index 03248a0a77..756d178c77 100644
--- a/.github/workflows/desktop-e2e.yml
+++ b/.github/workflows/desktop-e2e.yml
@@ -110,6 +110,10 @@ jobs:
runs-on: ubuntu-latest
container:
image: ${{ needs.prepare-linux.outputs.container_image }}
+ if: |
+ !cancelled() &&
+ needs.prepare-matrices.outputs.linux_matrix != '[]' &&
+ needs.prepare-matrices.outputs.linux_matrix != ''
continue-on-error: true
steps:
# Fix for HOME path overridden by GH runners when building in containers, see:
@@ -155,6 +159,10 @@ jobs:
runs-on: ubuntu-latest
container:
image: ${{ needs.prepare-linux.outputs.container_image }}
+ if: |
+ !cancelled() &&
+ needs.prepare-matrices.outputs.linux_matrix != '[]' &&
+ needs.prepare-matrices.outputs.linux_matrix != ''
steps:
# Fix for HOME path overridden by GH runners when building in containers, see:
# https://github.com/actions/runner/issues/863
@@ -181,6 +189,10 @@ jobs:
needs: prepare-linux
# Note: libssl-dev is installed on the test server, so build test-manager there for the sake of simplicity
runs-on: [self-hosted, desktop-test, Linux] # app-test-linux
+ if: |
+ !cancelled() &&
+ needs.prepare-matrices.outputs.linux_matrix != '[]' &&
+ needs.prepare-matrices.outputs.linux_matrix != ''
steps:
- name: Checkout repository
uses: actions/checkout@v4
@@ -204,6 +216,10 @@ jobs:
runs-on: ubuntu-latest
container:
image: ${{ needs.prepare-linux.outputs.container_image }}
+ if: |
+ !cancelled() &&
+ needs.prepare-matrices.outputs.linux_matrix != '[]' &&
+ needs.prepare-matrices.outputs.linux_matrix != ''
steps:
- name: Checkout repository
uses: actions/checkout@v4