mirror of
https://github.com/julia-actions/julia-runtest.git
synced 2026-02-12 02:56:55 +08:00
54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
name: TestLogger CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
- "master"
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
version:
|
|
- "1.6"
|
|
- "1" # automatically expands to the latest stable 1.x release of Julia
|
|
- nightly
|
|
os:
|
|
- ubuntu-latest
|
|
- macOS-latest
|
|
- windows-latest
|
|
arch:
|
|
- x64
|
|
- x86
|
|
# 32-bit Julia binaries are not available on macOS
|
|
exclude:
|
|
- os: macOS-latest
|
|
arch: x86
|
|
|
|
steps:
|
|
- name: Checkout julia-runtest
|
|
uses: actions/checkout@v2
|
|
|
|
- uses: julia-actions/setup-julia@v1
|
|
with:
|
|
version: ${{ matrix.version }}
|
|
arch: ${{ matrix.arch }}
|
|
|
|
- uses: actions/cache@v1
|
|
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 }}-
|
|
|
|
- run: julia --color=yes --check-bounds=yes test_logger_tests.jl
|