Skip to content

Commit 12dd4f4

Browse files
committed
Merge branch 'ios-bump-wireguard-apple'
2 parents 0c57442 + e5ddfb7 commit 12dd4f4

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

.github/workflows/ios-screenshots-creation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup go-lang
2727
uses: actions/setup-go@v3
2828
with:
29-
go-version: 1.20.14
29+
go-version: 1.21.13
3030

3131
- name: Set up yeetd to workaround XCode being slow in CI
3232
run: |

.github/workflows/ios-screenshots-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Setup go-lang
3939
uses: actions/setup-go@v3
4040
with:
41-
go-version: 1.20.14
41+
go-version: 1.21.13
4242

4343
- name: Set up yeetd to workaround XCode being slow in CI
4444
run: |

.github/workflows/ios-validate-build-schemas.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Setup go-lang
4040
uses: actions/setup-go@v3
4141
with:
42-
go-version: 1.20.14
42+
go-version: 1.21.13
4343

4444
- name: Set up yeetd to workaround XCode being slow in CI
4545
run: |

.github/workflows/ios.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- name: Setup go-lang
6666
uses: actions/setup-go@v3
6767
with:
68-
go-version: 1.20.14
68+
go-version: 1.21.13
6969

7070
- name: Install xcbeautify
7171
run: |

ios/BuildInstructions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
## Dependencies
22

3-
One needs Go v1.20 and the latest stable rust to build the app.
3+
One needs Go v1.21 and the latest stable rust to build the app.
44
Go can be installed via
55
```bash
6-
brew install go@1.20
6+
brew install go@1.21
77
```
88

99
Rust should be installed via [rustup](https://rustup.rs). Once rust is

ios/MullvadVPN.xcodeproj/project.pbxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -9244,7 +9244,7 @@
92449244
repositoryURL = "https://github.com/mullvad/wireguard-apple.git";
92459245
requirement = {
92469246
kind = revision;
9247-
revision = f1401d43f9d03438a81ca806b9f0c20269b116cb;
9247+
revision = afb345188c187dddafae0f9e27c5466be11451c2;
92489248
};
92499249
};
92509250
/* End XCRemoteSwiftPackageReference section */

ios/MullvadVPN.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"kind" : "remoteSourceControl",
1515
"location" : "https://github.com/mullvad/wireguard-apple.git",
1616
"state" : {
17-
"revision" : "f1401d43f9d03438a81ca806b9f0c20269b116cb"
17+
"revision" : "afb345188c187dddafae0f9e27c5466be11451c2"
1818
}
1919
}
2020
],

ios/MullvadVPNUITests/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ When adding more files with test suites they must be added to the `MullvadVPNUIT
1818
To run tests locally you need to make sure you have copied the configuration template `UITests.xcconfig.template` to `UITests.xcconfig` and set up the configuration attributes. The configuration attributes you're mostly likely to want to set custom values for are at the top:
1919
```
2020
// Pin code of the iOS device under test.
21-
IOS_DEVICE_PIN_CODE =
21+
IOS_DEVICE_PIN_CODE =
2222
2323
// UUID to identify test runs. Should be unique per test device. Generate with for example uuidgen on macOS.
24-
TEST_DEVICE_IDENTIFIER_UUID =
24+
TEST_DEVICE_IDENTIFIER_UUID =
2525
```
2626

2727
Look through other configuration attributes as well, but it is likely that their default value should be kept. Default values are set with local test execution in mind. They are changed in CI.
2828

29-
The test device must be on the office WiFi `app-team-ios-tests` in order to be able to run tests making use of the firewall and packet capture APIs.
29+
The test device must be on the office WiFi `app-team-ios-tests` in order to be able to run tests making use of the firewall and packet capture APIs.
3030

3131
## CI setup
3232
### iOS device setup
@@ -56,8 +56,8 @@ The test device must be on the office WiFi `app-team-ios-tests` in order to be a
5656
9. Install Rust and add iOS targets
5757
- `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh`
5858
- `rustup target install aarch64-apple-ios aarch64-apple-ios-sim`
59-
10. Install Go 1.20
60-
- `brew install go@1.20`
59+
10. Install Go 1.21
60+
- `brew install go@1.21`
6161

6262
### GitHub runner setup
6363
1. Ask GitHub admin for new runner token and setup steps from GitHub. Set it up according to the steps, pass `--labels ios-test` to `config.sh` when running it. By default it will also have the labels `self-hosted` and `macOS` which are required as well.

ios/build-wireguard-go.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fi
3737
WIREGUARD_KIT_GO_PATH="$RESOLVED_SOURCE_PACKAGES_PATH/checkouts/wireguard-apple/Sources/WireGuardKitGo"
3838
echo "WireGuardKitGo path resolved to $WIREGUARD_KIT_GO_PATH"
3939

40-
export PATH=/opt/homebrew/opt/go@1.20/bin:$PATH
40+
export PATH=/opt/homebrew/opt/go@1.21/bin:$PATH
4141

4242
# Run make
4343
# shellcheck disable=SC2086

0 commit comments

Comments
 (0)