Skip to content

Commit

Permalink
Test Github Actions CI
Browse files Browse the repository at this point in the history
  • Loading branch information
christiangnrd committed Mar 8, 2024
1 parent 507e0cb commit 242bbfe
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
tags: '*'

concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.8'
- '1.9'
- '1'
# - 'nightly' #TODO: enable once aarch64 nightlies are working
os:
- macos-latest
- macos-14
include:
- os: macos-latest
arch: x64
- os: macos-14
arch: aarch64
steps:
- uses: actions/[email protected]
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/julia-buildpkg@v1

- name: "Run test"
uses: julia-actions/julia-runtest@v1

0 comments on commit 242bbfe

Please sign in to comment.