55 branches :
66 - dev
77 tags :
8- - ' * '
8+ - " * "
99 pull_request :
1010 types :
1111 - opened
@@ -23,25 +23,66 @@ jobs:
2323 strategy :
2424 fail-fast : true
2525 matrix :
26- os : [ubuntu-latest, macOS-latest, windows-latest]
27- ghc-version : ["9.2.4"]
2826 include :
29- - experimental : false
30- - os : ubuntu-latest
27+ # Recommended versions
28+ - name : Build on macOS
29+ os : macOS-latest
30+ agda-version : " 2.6.2.2"
31+ ghc-version : " 9.2.4"
32+ experimental : false
33+ - name : Build on Linux
34+ os : ubuntu-latest
35+ agda-version : " 2.6.2.2"
36+ ghc-version : " 9.2.4"
37+ experimental : false
38+ - name : Build on Windows
39+ os : windows-latest
40+ agda-version : " 2.6.2.2"
41+ ghc-version : " 9.2.4"
42+ experimental : false
43+ # Older versions of Agda
44+ - name : Build with older Agda 2.6.2.1
45+ os : ubuntu-latest
46+ agda-version : " 2.6.2.1"
47+ ghc-version : " 9.2.4"
48+ experimental : true
49+ - name : Build with older Agda 2.6.2
50+ os : ubuntu-latest
51+ agda-version : " 2.6.2"
52+ ghc-version : " 9.2.4"
53+ experimental : true
54+ # Newer versions of Agda
55+ - name : Build with newer Agda 2.6.3
56+ os : ubuntu-latest
57+ agda-version : " 2.6.3"
58+ ghc-version : " 9.2.4"
59+ experimental : true
60+ # Older versions of GHC
61+ - name : Build with older GHC 8.10.7
62+ os : ubuntu-latest
63+ agda-version : " 2.6.2.2"
3164 ghc-version : " 8.10.7"
3265 experimental : false
33- - os : ubuntu-latest
66+ - name : Build with older GHC 9.0.2
67+ os : ubuntu-latest
68+ agda-version : " 2.6.2.2"
3469 ghc-version : " 9.0.2"
3570 experimental : false
36-
37- name : Build on ${{ matrix.os }} with GHC-${{ matrix.ghc-version }}
71+ # Newer versions of GHC
72+ - name : Build with newer GHC 9.4.4
73+ os : ubuntu-latest
74+ agda-version : " 2.6.2.2"
75+ ghc-version : " 9.4.4"
76+ experimental : true
77+
78+ name : ${{ matrix.name }}
3879 runs-on : ${{ matrix.os }}
3980 continue-on-error : ${{ matrix.experimental }}
4081 steps :
4182 - name : Checkout
4283 uses : actions/checkout@v3
4384 with :
44- submodules : ' true'
85+ submodules : " true"
4586
4687 - name : Setup Haskell
4788 uses : ./.github/actions/setup-haskell
@@ -52,16 +93,12 @@ jobs:
5293 - name : Setup Agda
5394 uses : wenkokke/setup-agda@latest
5495 with :
55- agda-version : latest
96+ agda-version : ${{ matrix.agda-version }}
5697 force-no-build : true
5798
5899 - name : Setup Node
59100 uses : ./.github/actions/setup-node
60101
61- - name : Setup BumpVer
62- uses : ./.github/actions/setup-bumpver
63- # depends on requirements-dev.txt
64-
65102 - name : Setup HTMLProofer
66103 if : runner.os != 'Windows'
67104 uses : ./.github/actions/setup-htmlproofer
85122 CABAL_ARGS : --project-file=cabal.project.ghc-${{ matrix.ghc-version }}
86123 # depends on cabal.project.ghc-X.Y
87124
88- - name : Test with BumpVer
89- run : bumpver update --dry --no-fetch
90-
91125 - name : Test with HTML-validate
92126 run : make test-html-validate
93127
@@ -104,7 +138,7 @@ jobs:
104138 if : always()
105139 uses : actions/upload-artifact@v3
106140 with :
107- name : Website HEAD ${{ runner.os }} GHC-${{ matrix.ghc-version }}
141+ name : Website HEAD ${{ runner.os }} Agda-${{ matrix.agda-version }} GHC-${{ matrix.ghc-version }}
108142 path : _site
109143 if-no-files-found : error
110144
@@ -114,12 +148,12 @@ jobs:
114148 if : github.event_name == 'push'
115149 uses : ./.github/workflows/publish.yml
116150 with :
117- artifact-name : Website HEAD Linux GHC-9.2.4
151+ artifact-name : Website HEAD Linux Agda-2.6.2.2 GHC-9.2.4
118152
119153 release :
120154 name : Publish to GitHub Releases
121155 needs : [build]
122156 if : startsWith(github.ref, 'refs/tags/v')
123157 uses : ./.github/workflows/release.yml
124158 with :
125- artifact-name : Website HEAD Linux GHC-9.2.4
159+ artifact-name : Website HEAD Linux Agda-2.6.2.2 GHC-9.2.4
0 commit comments