diff options
author | Jack O'Connor <oconnor663@gmail.com> | 2022-11-22 00:33:12 -0800 |
---|---|---|
committer | Jack O'Connor <oconnor663@gmail.com> | 2022-11-22 23:22:14 -0800 |
commit | 62772b2d0464c56eb1137e645d23ef4f8ee6d01f (patch) | |
tree | 8aaec6dbdba891e93c64e2e35134ecc79f2b3cb2 | |
parent | 8b9608ba178f1ebdae25e2b2e52b6786952e4b18 (diff) |
add GCC 5.4 to CI
-rw-r--r-- | .github/workflows/ci.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7af84de..399c042 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -257,3 +257,21 @@ jobs: -DBLAKE3_NO_SSE2 -DBLAKE3_NO_SSE41 -DBLAKE3_NO_AVX2 -DBLAKE3_NO_AVX512 \ blake3.c blake3_dispatch.c blake3_portable.c working-directory: ./c + + # See https://github.com/BLAKE3-team/BLAKE3/issues/271 for why we test this. + # Note that this isn't guaranteed to execute on an AVX-512-supporting server, + # but hopefully at least some of the time it will. + gcc54: + name: "compile and test with GCC 5.4" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: addnab/docker-run-action@v3 + with: + image: gcc:5.4 + options: -v ${{ github.workspace }}:/work + run: | + cat /proc/cpuinfo + curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal + cd /work + ~/.cargo/bin/cargo test --features prefer_intrinsics |