summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorEmīls <emils@mullvad.net>2023-11-08 14:12:10 +0100
committerEmīls <emils@mullvad.net>2023-11-10 14:49:35 +0100
commit7fc7726584c65461b977e1d38bb0d51a017407a4 (patch)
tree0199aa050fab272900f0dcc06374b6bbf3886427 /.github
parentc15e2853b3d629e3cac4716168262cc60e2cfac1 (diff)
downloadmullvadvpn-7fc7726584c65461b977e1d38bb0d51a017407a4.tar.xz
mullvadvpn-7fc7726584c65461b977e1d38bb0d51a017407a4.zip
Use bigger runners and yeetd
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ios.yml14
1 files changed, 10 insertions, 4 deletions
diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml
index 25489032ff..5f4342002d 100644
--- a/.github/workflows/ios.yml
+++ b/.github/workflows/ios.yml
@@ -11,7 +11,7 @@ on:
jobs:
check-formatting:
name: Check formatting
- runs-on: macos-13
+ runs-on: macos-13-xlarge
steps:
- name: Install SwiftFormat
run: |
@@ -29,20 +29,21 @@ jobs:
swiftlint:
name: Run swiftlint
- runs-on: macos-13
+ runs-on: macos-13-xlarge
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Run swiftlint
run: |
+ brew install swiftlint
swiftlint --version
swiftlint --reporter github-actions-logging
working-directory: ios
test:
name: Unit tests
- runs-on: macos-13
+ runs-on: macos-13-xlarge
env:
SOURCE_PACKAGES_PATH: .spm
steps:
@@ -62,12 +63,17 @@ jobs:
with:
go-version: 1.19.5
+ - name: Set up yeetd to workaround XCode being slow in CI
+ run: |
+ wget https://github.com/biscuitehh/yeetd/releases/download/1.0/yeetd-normal.pkg
+ sudo installer -pkg yeetd-normal.pkg -target /
+ yeetd &
- name: Configure Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.0.1'
- name: Configure Rust
- run: rustup target add x86_64-apple-ios
+ run: rustup target add aarch64-apple-ios-sim
- name: Configure Xcode project
run: |