Skip to content

Commit bff4b4f

Browse files
authored
chore: handle regression of CI (#15)
1 parent d11bf26 commit bff4b4f

File tree

3 files changed

+29
-12
lines changed

3 files changed

+29
-12
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ updates:
33
- package-ecosystem: github-actions
44
directory: /
55
schedule:
6-
interval: daily
6+
interval: weekly

.github/workflows/rust-compiler-builder.yml

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,34 @@ on:
1212

1313
jobs:
1414
build:
15-
name: ${{ matrix.rust-targets }}_${{ matrix.xcode-version }} [${{ matrix.os }}]
15+
name: ${{ matrix.rust-targets }} [${{ matrix.xcode-version }}] [${{ matrix.os }}]
1616
strategy:
1717
fail-fast: false
1818
matrix:
1919
include:
20+
# https://github.com/actions/runner-images?tab=readme-ov-file#available-images
2021
# https://github.com/actions/runner-images/tree/main/images/macos
2122
# https://developer.apple.com/support/xcode/
2223

23-
- rust-targets: arm64e-apple-ios,aarch64-apple-ios,arm64e-apple-darwin,aarch64-apple-darwin
24-
os: macos-13
25-
xcode-version: 15.2
24+
# Regression: arm64e-apple-darwin
25+
# Regression: arm64e-apple-ios
26+
# Regression: aarch64-apple-tvos
27+
# Regression: macos-14 arm64
28+
29+
- rust-targets: aarch64-apple-darwin
30+
os: macos-13 # x86-64
31+
xcode-version: 14.3.1
32+
rust-config: configure
33+
rust-verbose-level: 3
34+
rust-use-lld: true
35+
macosx_deployment_target: 11.0
36+
iphoneos_deployment_target: 14.0
37+
38+
- rust-targets: aarch64-apple-ios
39+
os: macos-13 # x86-64
40+
xcode-version: 14.3.1
2641
rust-config: configure
27-
rust-verbose-level: 0
42+
rust-verbose-level: 3
2843
rust-use-lld: true
2944
macosx_deployment_target: 11.0
3045
iphoneos_deployment_target: 14.0
@@ -36,10 +51,10 @@ jobs:
3651
RUST_TARGETS: ${{ matrix.rust-targets }}
3752

3853
steps:
39-
- name: Xcode Select Version
40-
uses: mobiledevops/xcode-select-version-action@v1
41-
with:
42-
xcode-select-version: ${{ matrix.xcode-version }}
54+
- name: Install Xcode ${{ matrix.xcode-version }}
55+
run: |
56+
sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode-version }}.app
57+
sudo xcode-select -p
4358
4459
- name: Install Ninja
4560
run: brew install ninja
@@ -49,8 +64,8 @@ jobs:
4964

5065
- name: Install llvm
5166
run: |
52-
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install llvm
53-
echo "PATH=$PATH:/usr/local/opt/llvm/bin" >> $GITHUB_ENV
67+
brew install llvm
68+
echo "PATH=$PATH:/opt/homebrew/opt/llvm/bin:/usr/local/opt/llvm/bin" >> $GITHUB_ENV
5469
5570
- name: Show System Info
5671
run: |
@@ -64,6 +79,7 @@ jobs:
6479
clang -v
6580
ld -v
6681
lld -flavor ld --version
82+
df -h .
6783
6884
- name: Checkout
6985
uses: actions/checkout@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
rust
22

33
Makefile.local
4+
README.local.md

0 commit comments

Comments
 (0)