| 1 | name: Test |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [master] |
| 6 | pull_request: |
| 7 | branches: [master] |
| 8 | |
| 9 | jobs: |
| 10 | build: |
| 11 | |
| 12 | runs-on: ${{matrix.os}} |
| 13 | |
| 14 | strategy: |
| 15 | matrix: |
| 16 | os: [ubuntu-latest, windows-latest, macos-latest] |
| 17 | |
| 18 | steps: |
| 19 | - uses: actions/checkout@v2 |
| 20 | - name: Run tests AVX2/8-bit |
| 21 | run: cargo test --verbose --no-default-features --features "debug jewel-avx jewel-8bit" -- --nocapture |
| 22 | - name: Run bench tests AVX2/8-bit |
| 23 | run: cargo test --bench rand_benchmarks --verbose --no-default-features --features "debug jewel-avx jewel-8bit" -- --nocapture |
| 24 | - name: Run tests AVX2/16-bit |
| 25 | run: cargo test --verbose --no-default-features --features "debug jewel-avx jewel-16bit" -- --nocapture |
| 26 | - name: Run bench tests AVX2/16-bit |
| 27 | run: cargo test --bench rand_benchmarks --verbose --no-default-features --features "debug jewel-avx jewel-16bit" -- --nocapture |
| 28 | - name: Run tests AVX2/32-bit |
| 29 | run: cargo test --verbose --no-default-features --features "debug jewel-avx jewel-32bit" -- --nocapture |
| 30 | - name: Run bench tests AVX2/32-bit |
| 31 | run: cargo test --bench rand_benchmarks --verbose --no-default-features --features "debug jewel-avx jewel-32bit" -- --nocapture |
| 32 | - name: Run tests SSE4.1/8-bit |
| 33 | run: cargo test --verbose --no-default-features --features "debug jewel-sse jewel-8bit" -- --nocapture |
| 34 | - name: Run bench tests SSE4.1/8-bit |
| 35 | run: cargo test --bench rand_benchmarks --verbose --no-default-features --features "debug jewel-sse jewel-8bit" -- --nocapture |
| 36 | - name: Run tests SSE4.1/16-bit |
| 37 | run: cargo test --verbose --no-default-features --features "debug jewel-sse jewel-16bit" -- --nocapture |
| 38 | - name: Run bench tests SSE4.1/16-bit |
| 39 | run: cargo test --bench rand_benchmarks --verbose --no-default-features --features "debug jewel-sse jewel-16bit" -- --nocapture |
| 40 | - name: Run tests SSE4.1/32-bit |
| 41 | run: cargo test --verbose --no-default-features --features "debug jewel-sse jewel-32bit" -- --nocapture |
| 42 | - name: Run bench tests SSE4.1/32-bit |
| 43 | run: cargo test --bench rand_benchmarks --verbose --no-default-features --features "debug jewel-sse jewel-32bit" -- --nocapture |