1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-22 05:33:02 +00:00

Add Apple M1 builds

This commit is contained in:
Alula 2022-03-22 03:15:43 +01:00
parent 703413dcb6
commit cd8a23391a
No known key found for this signature in database
GPG key ID: 3E00485503A1D8BA
2 changed files with 26 additions and 13 deletions

View file

@ -8,11 +8,6 @@ environment:
global:
PROJECT_NAME: doukutsu-rs
matrix:
- channel: stable
target: aarch64-apple-darwin
target_name: macos
job_name: mac-arm64
appveyor_build_worker_image: macos-monterey
- channel: stable
target: x86_64-pc-windows-msvc
target_name: win64
@ -29,9 +24,14 @@ environment:
appveyor_build_worker_image: Ubuntu
- channel: stable
target: x86_64-apple-darwin
target_name: macos
target_name: mac-intel
job_name: mac-x64
appveyor_build_worker_image: macos-monterey
- channel: stable
target: aarch64-apple-darwin
target_name: mac-m1
job_name: mac-arm64
appveyor_build_worker_image: macos-monterey
matrix:
fast_finish: true
@ -52,8 +52,12 @@ for:
- cargo -vV
cache:
- '%USERPROFILE%\.cache\sccache -> Cargo.toml'
- '%USERPROFILE%\.cargo -> Cargo.toml'
- '%USERPROFILE%\.cache -> Cargo.toml'
- '%USERPROFILE%\.cargo\bin -> Cargo.toml'
- '%USERPROFILE%\.cargo\registry\index -> Cargo.toml'
- '%USERPROFILE%\.cargo\registry\cache -> Cargo.toml'
- '%USERPROFILE%\.cargo\git\db -> Cargo.toml'
- '%USERPROFILE%\.rustup -> Cargo.toml'
- 'target -> Cargo.toml'
build_script:
@ -86,8 +90,12 @@ for:
- cargo install cargo-bundle
cache:
- '$HOME/.cache/sccache -> Cargo.toml'
- '$HOME/.cargo -> Cargo.toml'
- '$HOME/.cache -> Cargo.toml'
- '$HOME/.cargo/bin -> Cargo.toml'
- '$HOME/.cargo/registry/index -> Cargo.toml'
- '$HOME/.cargo/registry/cache -> Cargo.toml'
- '$HOME/.cargo/git/db -> Cargo.toml'
- '$HOME/.rustup -> Cargo.toml'
- 'target -> Cargo.toml'
build_script:
@ -118,8 +126,12 @@ for:
- cargo -vV
cache:
- '$HOME/.cache/sccache -> Cargo.toml'
- '$HOME/.cargo -> Cargo.toml'
- '$HOME/.cache -> Cargo.toml'
- '$HOME/.cargo/bin -> Cargo.toml'
- '$HOME/.cargo/registry/index -> Cargo.toml'
- '$HOME/.cargo/registry/cache -> Cargo.toml'
- '$HOME/.cargo/git/db -> Cargo.toml'
- '$HOME/.rustup -> Cargo.toml'
- 'target -> Cargo.toml'
build_script:

View file

@ -11,7 +11,8 @@ in [Rust](https://www.rust-lang.org/).
Permalinks to latest builds from `master` branch:
- Windows (x86_64): https://ci.appveyor.com/api/projects/alula/doukutsu-rs/artifacts/doukutsu-rs_win64.zip?branch=master&job=windows-x64
- macOS (Intel, 64-bit, 10.14+) https://ci.appveyor.com/api/projects/alula/doukutsu-rs/artifacts/doukutsu-rs_macos.zip?branch=master&job=mac-x64
- macOS (Intel, 64-bit, 10.14+) https://ci.appveyor.com/api/projects/alula/doukutsu-rs/artifacts/doukutsu-rs_mac-intel.zip?branch=master&job=mac-x64
- macOS (Apple M1, 11.0+) https://ci.appveyor.com/api/projects/alula/doukutsu-rs/artifacts/doukutsu-rs_mac-m1.zip?branch=master&job=mac-arm64
- Linux (x86_64) https://ci.appveyor.com/api/projects/alula/doukutsu-rs/artifacts/doukutsu-rs_linux.zip?branch=master&job=linux-x64
- [Get stable/beta builds from GitHub Releases](https://github.com/doukutsu-rs/doukutsu-rs/releases) (executables only,
no data files bundled, see below for instructions)