17
17
- " tests/*.sh"
18
18
19
19
jobs :
20
- # base-build-test:
21
- # name: Base Build and Test - ${{ matrix.idris-version }}
22
- # strategy:
23
- # matrix:
24
- # idris-version: ["v0.5.1", "v0.6.0", "latest"]
25
- # uses: ./.github/workflows/version-base-build-test.yml
26
- # with:
27
- # idris-version: ${{ matrix.idris-version }}
28
- # secrets: inherit
20
+ base-build-test :
21
+ name : Base Build and Test - ${{ matrix.idris-version }}
22
+ strategy :
23
+ matrix :
24
+ idris-version : ["v0.5.1", "v0.6.0", "v0.7 .0", "latest"]
25
+ uses : ./.github/workflows/version-base-build-test.yml
26
+ with :
27
+ idris-version : ${{ matrix.idris-version }}
28
+ secrets : inherit
29
29
30
- # base-deploy:
31
- # name: Base Deploy - ${{ matrix.idris-version }}
32
- # # only deploy if it's a push to main
33
- # if: github.event_name == 'schedule' || github.event_name == 'push'
34
- # needs: [base-build-test]
35
- # strategy:
36
- # matrix:
37
- # idris-version: ["v0.5.1", "v0.6.0", "latest"]
38
- # # deploy one at a time, so the latest is always the latest deployed
39
- # max-parallel: 1
40
- # uses: ./.github/workflows/version-base-deploy.yml
41
- # with:
42
- # idris-version: ${{ matrix.idris-version }}
43
- # secrets: inherit
30
+ base-deploy :
31
+ name : Base Deploy - ${{ matrix.idris-version }}
32
+ # only deploy if it's a push to main
33
+ if : github.event_name == 'schedule' || github.event_name == 'push'
34
+ needs : [base-build-test]
35
+ strategy :
36
+ matrix :
37
+ idris-version : ["v0.5.1", "v0.6.0", "v0.7 .0", "latest"]
38
+ # deploy one at a time, so the latest is always the latest deployed
39
+ max-parallel : 1
40
+ uses : ./.github/workflows/version-base-deploy.yml
41
+ with :
42
+ idris-version : ${{ matrix.idris-version }}
43
+ secrets : inherit
44
44
45
45
devcontainer-build-test :
46
46
name : Devcontainer Build and Test - ${{ matrix.idris-lsp-version }}
47
+ needs : [base-build-test] # needs cached base builds
47
48
strategy :
48
49
matrix :
49
50
# based off of the branches in the idris-lsp repo
50
- idris-lsp-version : ["idris2-0.5.1", "idris2-0.6.0", "latest"]
51
+ idris-lsp-version : ["idris2-0.5.1", "idris2-0.6.0", "idris2-0.7.0", " latest"]
51
52
include :
52
53
- idris-lsp-version : " idris2-0.5.1"
53
54
idris-version : " v0.5.1"
54
55
- idris-lsp-version : " idris2-0.6.0"
55
56
idris-version : " v0.6.0"
57
+ - idris-lsp-version : " idris2-0.7.0"
58
+ idris-version : " v0.7.0"
56
59
- idris-lsp-version : " latest"
57
60
idris-version : " latest"
58
61
uses : ./.github/workflows/version-devcontainer-build-test.yml
@@ -65,15 +68,17 @@ jobs:
65
68
name : Devcontainer Deploy - ${{ matrix.idris-lsp-version }}
66
69
# only deploy if it's a push to main
67
70
if : github.event_name == 'schedule' || github.event_name == 'push'
68
- needs : [devcontainer-build-test]
71
+ needs : [base-deploy, devcontainer-build-test] # needs base deployed to registry
69
72
strategy :
70
73
matrix :
71
- idris-lsp-version : ["idris2-0.5.1", "idris2-0.6.0", "latest"]
74
+ idris-lsp-version : ["idris2-0.5.1", "idris2-0.6.0", "idris2-0.7.0", " latest"]
72
75
include :
73
76
- idris-lsp-version : " idris2-0.5.1"
74
77
idris-version : " v0.5.1"
75
78
- idris-lsp-version : " idris2-0.6.0"
76
79
idris-version : " v0.6.0"
80
+ - idris-lsp-version : " idris2-0.7.0"
81
+ idris-version : " v0.7.0"
77
82
- idris-lsp-version : " latest"
78
83
idris-version : " latest"
79
84
max-parallel : 1
0 commit comments