-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: build on aarch64-apple-darwin (#10)
* change targets * update bindgen * replace depreciated function * set target * set linker * set default * testing * testing * set target * undo set linker * set default * change toolchain * cleanup
- Loading branch information
1 parent
e4f10aa
commit 534c463
Showing
3 changed files
with
21 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,29 +117,28 @@ jobs: | |
strategy: | ||
matrix: | ||
target: | ||
- intel-catalina | ||
- intel-bigsur | ||
- m1-bigsur | ||
- intel-monterey | ||
- intel-ventura | ||
- silicon-sonoma | ||
include: | ||
- target: intel-catalina | ||
os: macOS-10.15 | ||
- target: intel-monterey | ||
os: macOS-12.0 | ||
toolchain_target: x86_64-apple-darwin | ||
toolchain: stable | ||
aux_args: "" | ||
default: false | ||
- target: intel-bigsur | ||
os: macOS-11.0 | ||
aux_args: --target x86_64-apple-darwin | ||
default: true | ||
- target: intel-ventura | ||
os: macOS-13.0 | ||
toolchain_target: x86_64-apple-darwin | ||
toolchain: stable | ||
aux_args: --target x86_64-apple-darwin | ||
default: true | ||
- target: silicon-sonoma | ||
os: macOS-14.0 | ||
toolchain_target: aarch64-apple-darwin | ||
toolchain: stable | ||
aux_args: "" | ||
default: false | ||
# TODO enable again and try to find out why this fails | ||
# - target: m1-bigsur | ||
# os: macOS-11.0 | ||
# toolchain_target: aarch64-apple-darwin | ||
# toolchain: nightly | ||
# aux_args: --target aarch64-apple-darwin | ||
# default: true | ||
|
||
steps: | ||
- name: Checkout repository | ||
|
@@ -150,19 +149,14 @@ jobs: | |
- name: Install stable toolchain | ||
uses: actions-rs/[email protected] | ||
with: | ||
toolchain: stable | ||
toolchain: ${{ matrix.toolchain }} | ||
target: ${{ matrix.toolchain_target }} | ||
override: true | ||
default: ${{ matrix.default }} | ||
|
||
- name: Install htslib dependencies | ||
run: brew install bzip2 zlib xz curl-openssl | ||
|
||
#- uses: actions-rs/[email protected] | ||
# with: | ||
# toolchain: ${{ matrix.toolchain }} | ||
# target: ${{ matrix.toolchain_target }} | ||
# #override: true | ||
# default: ${{ matrix.default }} | ||
|
||
- name: Test | ||
uses: actions-rs/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters