Skip to content

Commit 6719709

Browse files
committed
add CI
1 parent 54b0976 commit 6719709

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/actions/CI.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Run tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- main
8+
pull_request:
9+
10+
# needed to allow julia-actions/cache to delete old caches that it has created
11+
permissions:
12+
actions: write
13+
contents: read
14+
15+
jobs:
16+
test:
17+
runs-on: ${{ matrix.os }}
18+
strategy:
19+
matrix:
20+
julia-version: ['lts', '1', 'pre']
21+
julia-arch: [x64, x86]
22+
os: [ubuntu-latest, windows-latest, macOS-latest]
23+
exclude:
24+
- os: macOS-latest
25+
julia-arch: x86
26+
27+
steps:
28+
- uses: actions/checkout@v4
29+
- uses: julia-actions/setup-julia@v2
30+
with:
31+
version: ${{ matrix.julia-version }}
32+
arch: ${{ matrix.julia-arch }}
33+
- uses: julia-actions/cache@v2
34+
- uses: julia-actions/julia-buildpkg@v1
35+
- uses: julia-actions/julia-runtest@v1

0 commit comments

Comments
 (0)