-
Notifications
You must be signed in to change notification settings - Fork 6
40 lines (40 loc) · 1.13 KB
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# [.github/workflows/CI.yml]
name: CI
on:
push:
branches:
- main
- develop
tags: '*'
pull_request:
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
# continue-on-error: true #warning: alaways display success in actions tab
strategy:
matrix:
version:
# - '1.8' fails due to some weird interpolation problem (knot vector error)
- '1.9'
- '1.10'
os:
- ubuntu-latest
- macOS-latest
# - windows-latest fails with ssh-agent error on windows slave
arch:
- x64
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/add-julia-registry@v1
with:
key: ${{ secrets.SSH_KEY }}
registry: control-toolbox/ct-registry
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-uploadcodecov@latest
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}