Skip to content

CI: Fixed arch for macOS jobs #74

CI: Fixed arch for macOS jobs

CI: Fixed arch for macOS jobs #74

Workflow file for this run

name: Test
on:
push:
branches: [master]
tags: ["*"]
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
timeout-minutes: 180
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
actions: write
contents: read
strategy:
fail-fast: false
matrix:
version:
- "1"
- lts
os:
- macOS-latest
- macOS-13
- ubuntu-latest
arch:
- aarch64
- x64
exclude:
- os: macOS-latest
arch: x64
- os: macOS-13
arch: aarch64
- os: ubuntu-latest
arch: aarch64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2
- run: |
julia --project -e '
using Pkg
try
Pkg.instantiate()
catch
Pkg.develop(path="lib/intrinsics")
end'
- uses: julia-actions/julia-runtest@v1
with:
test_args: '--platform=pocl'
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info