Marc Kupietz | 7101f9e | 2022-07-21 08:58:19 +0200 | [diff] [blame] | 1 | name: CI |
| 2 | on: |
| 3 | push: |
| 4 | branches: |
| 5 | - main |
| 6 | tags: '*' |
| 7 | pull_request: |
| 8 | concurrency: |
| 9 | # Skip intermediate builds: always. |
| 10 | # Cancel intermediate builds: only if it is a pull request build. |
| 11 | group: ${{ github.workflow }}-${{ github.ref }} |
| 12 | cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} |
| 13 | jobs: |
| 14 | test: |
| 15 | name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} |
| 16 | runs-on: ${{ matrix.os }} |
| 17 | strategy: |
| 18 | fail-fast: false |
| 19 | matrix: |
| 20 | version: |
| 21 | - '1.0' |
| 22 | - '1.7' |
| 23 | - 'nightly' |
| 24 | os: |
| 25 | - ubuntu-latest |
| 26 | arch: |
| 27 | - x64 |
| 28 | steps: |
| 29 | - uses: actions/checkout@v2 |
| 30 | - uses: julia-actions/setup-julia@v1 |
| 31 | with: |
| 32 | version: ${{ matrix.version }} |
| 33 | arch: ${{ matrix.arch }} |
| 34 | - uses: julia-actions/cache@v1 |
| 35 | - uses: julia-actions/julia-buildpkg@v1 |
| 36 | - uses: julia-actions/julia-runtest@v1 |