File tree 3 files changed +42
-15
lines changed
3 files changed +42
-15
lines changed Original file line number Diff line number Diff line change 34
34
uses : maxim-lobanov/setup-xcode@v1
35
35
with :
36
36
xcode-version : ' 15.0.1'
37
- - name : Configure Rust
38
- run : |
39
- rustup default stable
40
- rustup update stable
41
- rustup target add aarch64-apple-ios-sim x86_64-apple-ios
42
37
43
38
- name : Configure Xcode project
44
39
run : |
57
52
brew update
58
53
brew install protobuf
59
54
55
+ - name : Configure Rust
56
+ # Since the https://github.com/actions/runner-images/releases/tag/macos-13-arm64%2F20240721.1 release
57
+ # Brew does not install tools at the correct location anymore
58
+ # This update broke the rust build script which was assuming the cargo binary was located in ~/.cargo/bin/cargo
59
+ # The workaround is to fix brew paths by running brew bundle dump, and then brew bundle
60
+ # WARNING: This has to be the last brew "upgrade" commands that is ran,
61
+ # otherwise the brew path will be broken again.
62
+ run : |
63
+ brew bundle dump
64
+ brew bundle
65
+ rustup default stable
66
+ rustup update stable
67
+ rustup target add aarch64-apple-ios-sim x86_64-apple-ios
68
+
60
69
- name : Create screenshots
61
70
run : bundle exec fastlane snapshot --cloned_source_packages_path "$SOURCE_PACKAGES_PATH"
62
71
working-directory : ios
Original file line number Diff line number Diff line change 46
46
uses : maxim-lobanov/setup-xcode@v1
47
47
with :
48
48
xcode-version : ' 15.0.1'
49
- - name : Configure Rust
50
- run : |
51
- rustup default stable
52
- rustup update stable
53
- rustup target add aarch64-apple-ios-sim
54
49
55
50
- name : Configure Xcode project
56
51
run : |
75
70
brew update
76
71
brew install protobuf
77
72
73
+ - name : Configure Rust
74
+ # Since the https://github.com/actions/runner-images/releases/tag/macos-13-arm64%2F20240721.1 release
75
+ # Brew does not install tools at the correct location anymore
76
+ # This update broke the rust build script which was assuming the cargo binary was located in ~/.cargo/bin/cargo
77
+ # The workaround is to fix brew paths by running brew bundle dump, and then brew bundle
78
+ # WARNING: This has to be the last brew "upgrade" commands that is ran,
79
+ # otherwise the brew path will be broken again.
80
+ run : |
81
+ brew bundle dump
82
+ brew bundle
83
+ rustup default stable
84
+ rustup update stable
85
+ rustup target add aarch64-apple-ios-sim
86
+
78
87
- name : Run screenshot tests
79
88
run : |
80
89
set -o pipefail && env NSUnbufferedIO=YES xcodebuild \
Original file line number Diff line number Diff line change 47
47
uses : maxim-lobanov/setup-xcode@v1
48
48
with :
49
49
xcode-version : ' 15.0.1'
50
- - name : Configure Rust
51
- run : |
52
- rustup default stable
53
- rustup update stable
54
- rustup target add aarch64-apple-ios-sim x86_64-apple-ios
55
50
56
51
- name : Configure Xcode project
57
52
run : |
73
68
brew update
74
69
brew install protobuf
75
70
71
+ - name : Configure Rust
72
+ # Since the https://github.com/actions/runner-images/releases/tag/macos-13-arm64%2F20240721.1 release
73
+ # Brew does not install tools at the correct location anymore
74
+ # This update broke the rust build script which was assuming the cargo binary was located in ~/.cargo/bin/cargo
75
+ # The workaround is to fix brew paths by running brew bundle dump, and then brew bundle
76
+ # WARNING: This has to be the last brew "upgrade" commands that is ran,
77
+ # otherwise the brew path will be broken again.
78
+ run : |
79
+ brew bundle dump
80
+ brew bundle
81
+ rustup default stable
82
+ rustup update stable
83
+ rustup target add aarch64-apple-ios-sim x86_64-apple-ios
84
+
76
85
- name : Run build validation for Staging and MockRelease configurations as well as the MullvadVPNUITests target
77
86
run : |
78
87
set -o pipefail && env NSUnbufferedIO=YES xcodebuild \
You can’t perform that action at this time.
0 commit comments