summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJon Petersson <jon.petersson@mullvad.net>2025-08-18 09:58:15 +0200
committerJon Petersson <jon.petersson@mullvad.net>2025-08-18 12:31:44 +0200
commit63ef5eb25f48c55984b49202e050260465319c6e (patch)
tree74b56bcf4565da6814ace6549734f0d890a43c2e
parent4d84a6bbe68ae1cdd9cf2b5f2a63b60ea70c17a2 (diff)
downloadmullvadvpn-63ef5eb25f48c55984b49202e050260465319c6e.tar.xz
mullvadvpn-63ef5eb25f48c55984b49202e050260465319c6e.zip
Fix Github runner
-rw-r--r--.github/workflows/ios-screenshots-tests.yml4
-rw-r--r--.github/workflows/ios-validate-build-schemas.yml4
-rw-r--r--.github/workflows/ios.yml8
3 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/ios-screenshots-tests.yml b/.github/workflows/ios-screenshots-tests.yml
index a091ac658e..e6c78b73ab 100644
--- a/.github/workflows/ios-screenshots-tests.yml
+++ b/.github/workflows/ios-screenshots-tests.yml
@@ -43,6 +43,10 @@ jobs:
brew update
brew install zip
+ - name: Select Xcode version. Remove this step after 25/8 2025, when Xcode 16.4 will be the default version.
+ run: |
+ sudo xcode-select -s "/Applications/Xcode_16.4.app/Contents/Developer"
+
- name: Run screenshot tests
run: |
set -o pipefail && env NSUnbufferedIO=YES xcodebuild \
diff --git a/.github/workflows/ios-validate-build-schemas.yml b/.github/workflows/ios-validate-build-schemas.yml
index 46d87c0077..b309e12f69 100644
--- a/.github/workflows/ios-validate-build-schemas.yml
+++ b/.github/workflows/ios-validate-build-schemas.yml
@@ -32,6 +32,10 @@ jobs:
- name: Setup project
uses: ./.github/actions/ios/setup-project-toolchain
+ - name: Select Xcode version. Remove this step after 25/8 2025, when Xcode 16.4 will be the default version.
+ run: |
+ sudo xcode-select -s "/Applications/Xcode_16.4.app/Contents/Developer"
+
- name: Run build validation for Staging and MockRelease configurations as well as the MullvadVPNUITests target
run: |
set -o pipefail && env NSUnbufferedIO=YES xcodebuild \
diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml
index 48184d848d..7ba6aaf59f 100644
--- a/.github/workflows/ios.yml
+++ b/.github/workflows/ios.yml
@@ -58,6 +58,10 @@ jobs:
- name: Setup project
uses: ./.github/actions/ios/setup-project-toolchain
+ - name: Select Xcode version. Remove this step after 25/8 2025, when Xcode 16.4 will be the default version.
+ run: |
+ sudo xcode-select -s "/Applications/Xcode_16.4.app/Contents/Developer"
+
- name: Build for ui tests
run: |
set -o pipefail && env NSUnbufferedIO=YES xcodebuild \
@@ -82,6 +86,10 @@ jobs:
- name: Setup project
uses: ./.github/actions/ios/setup-project-toolchain
+ - name: Select Xcode version. Remove this step after 25/8 2025, when Xcode 16.4 will be the default version.
+ run: |
+ sudo xcode-select -s "/Applications/Xcode_16.4.app/Contents/Developer"
+
- name: Run unit tests
run: |
set -o pipefail && env NSUnbufferedIO=YES xcodebuild \