-
Notifications
You must be signed in to change notification settings - Fork 23
60 lines (57 loc) · 1.56 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: CI Build
on:
push:
branches:
- master
- release-*
pull_request:
branches:
- master
- release-*
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ["1.0", "1.10", nightly]
julia-arch: [x64]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- name: "Set up Julia"
uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-uploadcodecov@latest
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
docs:
if: github.event_name == 'push'
needs: test
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ["1.10"]
julia-arch: [x64]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: "Set up Julia"
uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- name: "Use Python 3"
uses: actions/setup-python@v1
with:
python-version: "3.12"
architecture: x64
- name: "Build Documentation"
run: |
julia --project=docs/ --color=yes docs/ci_init.jl
julia --project=docs/ --color=yes docs/make.jl
env:
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_CI_TOKEN }}