From b0535375103b7b23d062dc25868aec0c0f63bb2d Mon Sep 17 00:00:00 2001 From: mm-zk Date: Mon, 27 May 2024 10:42:44 +0200 Subject: [PATCH] added github ci --- .github/workflows/ci.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a984dd9..ac59332 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,6 +17,22 @@ jobs: - uses: actions-rust-lang/setup-rust-toolchain@v1 - run: cargo build --verbose - run: cargo test --verbose --all + +build_old: + name: cargo build and test (packed_simd) + strategy: + matrix: + # Needs big runners to run tests + # Only macos-13-xlarge is Apple Silicon, as per: + # https://docs.github.com/en/actions/using-github-hosted-runners/about-larger-runners/about-larger-runners#about-macos-larger-runners + os: [ubuntu-22.04-github-hosted-16core, macos-13-xlarge] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - uses: actions-rust-lang/setup-rust-toolchain@v1 + # Still compile the old rust nightly with packed simd - until we have a good replacement in poseidon. + - run: cargo +nightly-2023-05-31 build --features include_packed_simd + - run: cargo +nightly-2023-05-31 test --features include_packed_simd formatting: name: cargo fmt