mirror of
https://github.com/julia-actions/julia-runtest.git
synced 2026-02-12 02:56:55 +08:00
64 lines
1.6 KiB
YAML
64 lines
1.6 KiB
YAML
name: TestLogger CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
- "master"
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
test:
|
|
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
|
|
runs-on: ${{ matrix.os }}
|
|
timeout-minutes: 5
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
version:
|
|
- "1.6"
|
|
- "lts"
|
|
- "1" # automatically expands to the latest stable 1.x release of Julia
|
|
- "pre"
|
|
- "nightly"
|
|
os:
|
|
- ubuntu-latest
|
|
- macOS-latest
|
|
- windows-latest
|
|
arch:
|
|
- x64
|
|
- x86
|
|
- aarch64
|
|
# 32-bit Julia binaries are not available on macOS
|
|
# macOS runners use Apple Silicon (ARM64)
|
|
exclude:
|
|
- os: macOS-latest
|
|
arch: x86
|
|
- os: macOS-latest
|
|
arch: x64
|
|
- os: ubuntu-latest
|
|
arch: aarch64
|
|
- os: windows-latest
|
|
arch: aarch64
|
|
# Julia 1.6 didn't support ARM64
|
|
- os: macOS-latest
|
|
arch: aarch64
|
|
version: "1.6"
|
|
|
|
steps:
|
|
- name: Checkout julia-runtest
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
|
|
- uses: julia-actions/setup-julia@5c9647d97b78a5debe5164e9eec09d653d29bd71 # v2.6.1
|
|
with:
|
|
version: ${{ matrix.version }}
|
|
arch: ${{ matrix.arch }}
|
|
|
|
- uses: julia-actions/cache@d10a6fd8f31b12404a54613ebad242900567f2b9 # v2.1.0
|
|
|
|
- run: julia --color=yes --check-bounds=yes test_logger_tests.jl
|