1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-25 15:03:34 +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: global:
PROJECT_NAME: doukutsu-rs PROJECT_NAME: doukutsu-rs
matrix: matrix:
- channel: stable
target: aarch64-apple-darwin
target_name: macos
job_name: mac-arm64
appveyor_build_worker_image: macos-monterey
- channel: stable - channel: stable
target: x86_64-pc-windows-msvc target: x86_64-pc-windows-msvc
target_name: win64 target_name: win64
@ -29,9 +24,14 @@ environment:
appveyor_build_worker_image: Ubuntu appveyor_build_worker_image: Ubuntu
- channel: stable - channel: stable
target: x86_64-apple-darwin target: x86_64-apple-darwin
target_name: macos target_name: mac-intel
job_name: mac-x64 job_name: mac-x64
appveyor_build_worker_image: macos-monterey 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: matrix:
fast_finish: true fast_finish: true
@ -52,8 +52,12 @@ for:
- cargo -vV - cargo -vV
cache: cache:
- '%USERPROFILE%\.cache\sccache -> Cargo.toml' - '%USERPROFILE%\.cache -> Cargo.toml'
- '%USERPROFILE%\.cargo -> 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' - 'target -> Cargo.toml'
build_script: build_script:
@ -86,8 +90,12 @@ for:
- cargo install cargo-bundle - cargo install cargo-bundle
cache: cache:
- '$HOME/.cache/sccache -> Cargo.toml' - '$HOME/.cache -> Cargo.toml'
- '$HOME/.cargo -> 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' - 'target -> Cargo.toml'
build_script: build_script:
@ -118,8 +126,12 @@ for:
- cargo -vV - cargo -vV
cache: cache:
- '$HOME/.cache/sccache -> Cargo.toml' - '$HOME/.cache -> Cargo.toml'
- '$HOME/.cargo -> 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' - 'target -> Cargo.toml'
build_script: build_script:

View file

@ -11,7 +11,8 @@ in [Rust](https://www.rust-lang.org/).
Permalinks to latest builds from `master` branch: 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 - 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 - 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, - [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) no data files bundled, see below for instructions)