diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 89dd51d5d..074cc8bec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -83,21 +83,6 @@ jobs: svm_target_platform: linux-amd64 platform: linux arch: amd64 - - runner: ubuntu-22.04-github-hosted-16core - target: aarch64-unknown-linux-gnu - svm_target_platform: linux-aarch64 - platform: linux - arch: arm64 - - runner: macos-latest - target: x86_64-apple-darwin - svm_target_platform: macosx-amd64 - platform: darwin - arch: amd64 - - runner: macos-latest - target: aarch64-apple-darwin - svm_target_platform: macosx-aarch64 - platform: darwin - arch: arm64 steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable @@ -105,34 +90,11 @@ jobs: targets: ${{ matrix.target }} - name: Install required Rust targets run: rustup target add ${{ matrix.target }} - - uses: Swatinem/rust-cache@v2 with: key: ${{ matrix.target }} cache-on-failure: true - - name: Apple M1 setup - if: matrix.target == 'aarch64-apple-darwin' - run: | - brew install make - echo "PATH=/usr/local/opt/make/libexec/gnubin:$PATH" >> $GITHUB_ENV - echo "SDKROOT=$(xcrun -sdk macosx --show-sdk-path)" >> $GITHUB_ENV - echo "MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx --show-sdk-platform-version)" >> $GITHUB_ENV - - name: Apple Darwin - if: matrix.target == 'x86_64-apple-darwin' - run: | - brew install make - echo "PATH=/usr/local/opt/make/libexec/gnubin:$PATH" >> $GITHUB_ENV - - - name: Linux ARM setup - if: matrix.target == 'aarch64-unknown-linux-gnu' - run: | - sudo apt-get update -y - sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu - echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc" >> $GITHUB_ENV - echo "C_INCLUDE_PATH=/usr/aarch64-linux-gnu/include" >> $GITHUB_ENV - echo "CPLUS_INCLUDE_PATH=/usr/aarch64-linux-gnu/include" >> $GITHUB_ENV - - name: Build binaries env: SVM_TARGET_PLATFORM: ${{ matrix.svm_target_platform }}