From 52d0604153548453e6f2b1d8c34daaf9db48426a Mon Sep 17 00:00:00 2001 From: Guillaume Besson Date: Tue, 13 Oct 2020 12:07:30 +0200 Subject: [PATCH] Activate arm64 build for release --- .github/workflows/build.yml | 3 --- .github/workflows/release.yml | 39 ++++++++++++++++------------------- 2 files changed, 18 insertions(+), 24 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 043764e..e344081 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,6 @@ jobs: git submodule update --init --recursive git clone https://github.com/djg/cubeb-pulse-rs.git vendor/cubeb/src/cubeb-pulse-rs git clone https://github.com/ChunMinChang/cubeb-coreaudio-rs vendor/cubeb/src/cubeb-coreaudio-rs - cd vendor/cubeb - uses: hecrj/setup-rust-action@v1 - name: Install Node.js, NPM and Yarn @@ -72,7 +71,6 @@ jobs: git submodule update --init --recursive git clone https://github.com/djg/cubeb-pulse-rs.git vendor/cubeb/src/cubeb-pulse-rs git clone https://github.com/ChunMinChang/cubeb-coreaudio-rs vendor/cubeb/src/cubeb-coreaudio-rs - cd vendor/cubeb - name: Build for armv7 run: ./scripts/build_for_arch.sh --no-upload @@ -89,7 +87,6 @@ jobs: git submodule update --init --recursive git clone https://github.com/djg/cubeb-pulse-rs.git vendor/cubeb/src/cubeb-pulse-rs git clone https://github.com/ChunMinChang/cubeb-coreaudio-rs vendor/cubeb/src/cubeb-coreaudio-rs - cd vendor/cubeb - name: Build for arm64v8 env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59f0509..13ee453 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,6 @@ jobs: git submodule update --init --recursive git clone https://github.com/djg/cubeb-pulse-rs.git vendor/cubeb/src/cubeb-pulse-rs git clone https://github.com/ChunMinChang/cubeb-coreaudio-rs vendor/cubeb/src/cubeb-coreaudio-rs - cd vendor/cubeb - uses: hecrj/setup-rust-action@v1 - name: Install Node.js, NPM and Yarn @@ -78,30 +77,28 @@ jobs: git submodule update --init --recursive git clone https://github.com/djg/cubeb-pulse-rs.git vendor/cubeb/src/cubeb-pulse-rs git clone https://github.com/ChunMinChang/cubeb-coreaudio-rs vendor/cubeb/src/cubeb-coreaudio-rs - cd vendor/cubeb - name: Build for armv7 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: ./scripts/build_for_arch.sh - # prebuild-lib-arm64v8: - # name: Prebuild lib arm64v8 - # runs-on: ubuntu-latest - # steps: - # - name: Check out Git repository - # uses: actions/checkout@v1 - - # - name: Init submodules - # run: | - # git submodule update --init --recursive - # git clone https://github.com/djg/cubeb-pulse-rs.git vendor/cubeb/src/cubeb-pulse-rs - # git clone https://github.com/ChunMinChang/cubeb-coreaudio-rs vendor/cubeb/src/cubeb-coreaudio-rs - # cd vendor/cubeb - - # - name: Build for arm64v8 - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # CROSS_ENV: arm64v8 - # run: ./scripts/build_for_arch.sh + prebuild-lib-arm64v8: + name: Prebuild lib arm64v8 + runs-on: ubuntu-latest + steps: + - name: Check out Git repository + uses: actions/checkout@v1 + + - name: Init submodules + run: | + git submodule update --init --recursive + git clone https://github.com/djg/cubeb-pulse-rs.git vendor/cubeb/src/cubeb-pulse-rs + git clone https://github.com/ChunMinChang/cubeb-coreaudio-rs vendor/cubeb/src/cubeb-coreaudio-rs + + - name: Build for arm64v8 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CROSS_ENV: arm64v8 + run: ./scripts/build_for_arch.sh