1
1
name : CI
2
+
2
3
on :
3
4
schedule :
4
5
- cron : ' 0 6 * * *' # Daily at 6 AM UTC (2 AM EST)
5
6
pull_request :
6
7
push :
7
8
branches :
8
9
- main
9
- tags : ' *'
10
+ tags :
11
+ - ' *'
10
12
workflow_dispatch :
13
+
11
14
jobs :
12
15
test :
13
16
name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -16,19 +19,30 @@ jobs:
16
19
strategy :
17
20
fail-fast : false
18
21
matrix :
19
- version :
20
- - ' 1.10'
21
- - ' nightly'
22
- os :
23
- - ubuntu-latest
24
- - macOS-latest
25
- # FIXME - windows-latest
26
- arch :
27
- - x64
28
22
include :
29
- - version : ' nightly'
23
+ - version : ' 1' # current stable
24
+ os : ubuntu-latest
25
+ arch : x64
26
+ allow_failure : false
27
+ - version : ' 1.11-nightly' # next release
28
+ os : ubuntu-latest
29
+ arch : x64
30
30
allow_failure : true
31
- - version : ' ^1.10.0-0'
31
+ - version : ' nightly' # dev channel
32
+ os : ubuntu-latest
33
+ arch : x64
34
+ allow_failure : true
35
+ - version : ' 1.10.0' # minimum supported version
36
+ os : ubuntu-latest
37
+ arch : x64
38
+ allow_failure : false
39
+ - version : ' 1' # x64 macOS
40
+ os : macos-latest
41
+ arch : x64
42
+ allow_failure : false
43
+ - version : ' 1' # x64 windows
44
+ os : windows-latest
45
+ arch : x64
32
46
allow_failure : false
33
47
steps :
34
48
- uses : actions/checkout@v4
52
66
- uses : codecov/codecov-action@v1
53
67
with :
54
68
file : lcov.info
55
-
56
- build_terminology_latex :
57
- name : Build Terminology LaTeX
58
- runs-on : ubuntu-latest
59
- steps :
60
- - name : Set up Git repository
61
- uses : actions/checkout@v4
62
- - name : Compile LaTeX document
63
- uses : xu-cheng/texlive-action/full@v1
64
- with :
65
- run : |
66
- cd docs/terminology
67
- latexmk -pdf -shell-escape terminology.tex
68
- - name : Upload Artifact
69
- uses : actions/upload-artifact@v4
70
- with :
71
- name : terminology
72
- path : docs/terminology/terminology.pdf
73
-
74
- docs :
75
- name : Documentation
76
- runs-on : ubuntu-latest
77
- needs : build_terminology_latex
78
- steps :
79
- - uses : actions/checkout@v4
80
- - uses : julia-actions/setup-julia@v1
81
- with :
82
- version : ' ^1.10.0-0'
83
- - name : Download Terminology
84
- uses : actions/download-artifact@v4
85
- with :
86
- name : terminology
87
- path : docs/src/
88
- - name : Build Docs
89
- run : |
90
- julia --project=docs -e '
91
- using Pkg
92
- Pkg.develop(PackageSpec(path=pwd()))
93
- Pkg.instantiate()
94
- include("docs/make.jl")'
95
- env :
96
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
97
- DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
0 commit comments