Skip to content

Merge pull request #46 from JuliaSIMD/catch #204

Merge pull request #46 from JuliaSIMD/catch

Merge pull request #46 from JuliaSIMD/catch #204

name: CI (Julia nightly)
on:
pull_request:
branches:
- master
paths-ignore:
- 'LICENSE.md'
- 'README.md'
- '.github/workflows/TagBot.yml'
push:
tags: '*'
branches:
- master
paths-ignore:
- 'LICENSE.md'
- 'README.md'
- '.github/workflows/TagBot.yml'
jobs:
test-julia-nightly:
timeout-minutes: 30
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
arch:
- x64
- x86
exclusive:
- '0'
os:
- ubuntu-latest
- macOS-latest
- windows-latest
threads:
- '5'
version:
- '1.5'
- '1'
- 'nightly'
exclude:
- os: macOS-latest
arch: x86 # 32-bit Julia binaries are not available on macOS
include:
- exclusive: '1'
threads: '2'
arch: x64
os: ubuntu-latest
version: '1'
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v3
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
JULIA_EXCLUSIVE: ${{ matrix.exclusive }}
JULIA_NUM_THREADS: ${{ matrix.threads }}
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v3
with:
file: lcov.info