refactor: drop macos-10.15 beta xcode+sdk for aarch64-apple-darwin
since Xcode 13.0 uses SDK 11.3 by default on macos-11 (latest)
Diff
.github/workflows/devel.yml | 11 ++---------
.github/workflows/release.yml | 14 ++------------
2 files changed, 4 insertions(+), 21 deletions(-)
@@ -84,11 +84,11 @@ jobs:
rust: nightly
target: arm-unknown-linux-gnueabihf
- build: macos
os: macos-latest
os: macos-11
rust: nightly
target: x86_64-apple-darwin
- build: macos-arm64
os: macos-latest
os: macos-11
rust: nightly
target: aarch64-apple-darwin
- build: windows-msvc
@@ -141,13 +141,6 @@ jobs:
echo "SKIP_TESTS=yes" >> $GITHUB_ENV
sudo xcode-select -s /Applications/Xcode_12.2.app/Contents/Developer/
echo "SDKROOT=$(xcrun -sdk macosx11.0 --show-sdk-path)" >> $GITHUB_ENV
echo "MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.0 --show-sdk-platform-version)" >> $GITHUB_ENV
- name: Run tests
if: env.SKIP_TESTS == ''
run: ${{ env.CARGO }} test --verbose ${{ env.TARGET_FLAGS }}
@@ -92,11 +92,11 @@ jobs:
rust: nightly
target: arm-unknown-linux-gnueabihf
- build: macos
os: macos-latest
os: macos-11
rust: nightly
target: x86_64-apple-darwin
- build: macos-arm64
os: macos-latest
os: macos-11
rust: nightly
target: aarch64-apple-darwin
- build: windows-msvc
@@ -144,16 +144,6 @@ jobs:
echo "target flag is: ${{ env.TARGET_FLAGS }}"
echo "target dir is: ${{ env.TARGET_DIR }}"
- name: aarch64 specific items
if: matrix.build == 'macos-arm64'
run: |
sudo xcode-select -s /Applications/Xcode_12.2.app/Contents/Developer/
echo "SDKROOT=$(xcrun -sdk macosx11.0 --show-sdk-path)" >> $GITHUB_ENV
echo "MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.0 --show-sdk-platform-version)" >> $GITHUB_ENV
- name: Build release binary
run: ${{ env.CARGO }} build --verbose --release ${{ env.TARGET_FLAGS }}