mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 11:35:02 -05:00
feat(concrete-cpu): m1 support
This commit is contained in:
committed by
Quentin Bourgerie
parent
e019f0d01d
commit
2a3a0907d8
62
.github/workflows/concrete_cpu_test.yml
vendored
62
.github/workflows/concrete_cpu_test.yml
vendored
@@ -7,7 +7,7 @@ on:
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
jobs:
|
||||
tests:
|
||||
tests-linux:
|
||||
runs-on: ubuntu-20.04
|
||||
env:
|
||||
RUSTFLAGS: -D warnings
|
||||
@@ -60,3 +60,63 @@ jobs:
|
||||
run: |
|
||||
cd backends/concrete-cpu/test
|
||||
make test
|
||||
|
||||
tests-mac_x86:
|
||||
runs-on: macos-11
|
||||
env:
|
||||
RUSTFLAGS: -D warnings
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Rust install
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
|
||||
- name: Download cargo cache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
||||
- name: Tests
|
||||
run: |
|
||||
cd backends/concrete-cpu
|
||||
cargo test --no-fail-fast --all-targets
|
||||
|
||||
- name: Zig install
|
||||
run: |
|
||||
brew install zig
|
||||
|
||||
- name: Zig test
|
||||
run: |
|
||||
cd backends/concrete-cpu/test
|
||||
make test
|
||||
|
||||
|
||||
tests-mac-m1:
|
||||
runs-on: m1mac
|
||||
env:
|
||||
RUSTFLAGS: -D warnings
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Rust install
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
|
||||
- name: Download cargo cache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
||||
- name: Tests
|
||||
run: |
|
||||
cd backends/concrete-cpu
|
||||
cargo test --no-fail-fast --all-targets
|
||||
|
||||
- name: Zig install
|
||||
run: |
|
||||
brew install zig
|
||||
|
||||
- name: Zig test
|
||||
run: |
|
||||
cd backends/concrete-cpu/test
|
||||
make test
|
||||
|
||||
Reference in New Issue
Block a user