File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : GitHub CI
2
+
3
+ # on:
4
+ pull_request :
5
+ push :
6
+ # schedule:
7
+ - cron : 0 0 * * 0
8
+ workflow_dispatch :
9
+
10
+ defaults :
11
+ run :
12
+ shell : ' bash -Eeuo pipefail -x {0}'
13
+
14
+ jobs :
15
+
16
+ generate-jobs :
17
+ name : Generate Jobs
18
+ runs-on : ubuntu-latest
19
+ outputs :
20
+ strategy : ${{ steps.generate-jobs.outputs.strategy }}
21
+ steps :
22
+ - uses : actions/checkout@v4
23
+ - uses : docker-library/bashbrew@HEAD
24
+ - id : generate-jobs
25
+ name : Generate Jobs
26
+ run : |
27
+ strategy="$("$BASHBREW_SCRIPTS/github-actions/generate.sh")"
28
+ strategy="$(.github/workflows/munge.sh -c <<<"$strategy")"
29
+ echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
30
+ jq . <<<"$strategy" # sanity check / debugging aid
31
+
32
+ test :
33
+ needs : generate-jobs
34
+ strategy : ${{ fromJson(needs.generate-jobs.outputs.strategy) }}
35
+ name : ${{ matrix.name }}
36
+ runs-on : ${{ matrix.os }}
37
+ steps :
38
+ - uses : actions/checkout@v4
39
+ - name : Prepare Environment
40
+ run : ${{ matrix.runs.prepare }}
41
+ - name : Pull Dependencies
42
+ run : ${{ matrix.runs.pull }}
43
+ - name : Build ${{ matrix.name }}
44
+ run : ${{ matrix.runs.build }}
45
+ - name : History ${{ matrix.name }}
46
+ run : ${{ matrix.runs.history }}
47
+ - name : Test ${{ matrix.name }}
48
+ run : ${{ matrix.runs.test }}
49
+ - name : ' "docker images"'
50
+ run : ${{ matrix.runs.images }}
1
51
You can’t perform that action at this time.
0 commit comments