File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 2121 matrix :
2222 target :
2323 - x86_64-apple-darwin
24+ - aarch64-apple-darwin
2425 steps :
2526 - uses : actions/checkout@v2
2627 with :
6869 rustup toolchain uninstall stable
6970 fi
7071 rustup toolchain install --profile=minimal stable
72+ - name : aarch64-specific items
73+ run : |
74+ # Use nightly for now
75+ rustup toolchain install --profile=minimal nightly
76+ rustup default nightly
77+
78+ # Can't run tests: cross-compiling
79+ echo "::set-env name=SKIP_TESTS::yes"
80+
81+ # Use the beta compiler
82+ sudo xcode-select -s /Applications/Xcode_12.2.app/Contents/Developer/
83+
84+ # Set SDK environment variables
85+ echo "::set-env name=SDKROOT::$(xcrun -sdk macosx11.0 --show-sdk-path)"
86+ echo "::set-env name=MACOSX_DEPLOYMENT_TARGET::$(xcrun -sdk macosx11.0 --show-sdk-platform-version)"
87+ if : matrix.target == 'aarch64-apple-darwin'
7188 - name : Ensure we have our goal target installed
7289 run : |
7390 rustup target install "$TARGET"
You can’t perform that action at this time.
0 commit comments