Skip to content

Commit

Permalink
Activate arm64 build for release
Browse files Browse the repository at this point in the history
  • Loading branch information
geekuillaume committed Oct 13, 2020
1 parent 71498f6 commit 52d0604
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 24 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down
39 changes: 18 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 52d0604

Please sign in to comment.