11name : CI
2+
23on :
34 schedule :
45 - cron : ' 0 6 * * *' # Daily at 6 AM UTC (2 AM EST)
56 pull_request :
67 push :
78 branches :
89 - main
9- tags : ' *'
10+ tags :
11+ - ' *'
1012 workflow_dispatch :
13+
1114jobs :
1215 test :
1316 name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -16,19 +19,30 @@ jobs:
1619 strategy :
1720 fail-fast : false
1821 matrix :
19- version :
20- - ' 1.10'
21- - ' nightly'
22- os :
23- - ubuntu-latest
24- - macOS-latest
25- # FIXME - windows-latest
26- arch :
27- - x64
2822 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
3030 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
3246 allow_failure : false
3347 steps :
3448 - uses : actions/checkout@v4
5266 - uses : codecov/codecov-action@v1
5367 with :
5468 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