File tree 2 files changed +24
-0
lines changed
2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1
1
name : Containers
2
2
3
3
on :
4
+ # We want to run the CI when anything is pushed to master.
5
+ # Since master is a protected branch this only happens when a PR is merged.
6
+ # This is a double check in case the PR was stale and had some issues.
4
7
push :
8
+ branches :
9
+ - master
5
10
pull_request :
6
11
workflow_dispatch :
7
12
schedule :
8
13
- cron : ' 0 0 * * 0' # weekly
9
14
15
+ # We want to cancel previous runs for a given PR or branch / ref if another CI
16
+ # run is requested.
17
+ # See: https://docs.github.com/en/actions/using-jobs/using-concurrency
18
+ concurrency :
19
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
20
+ cancel-in-progress : true
21
+
10
22
jobs :
11
23
12
24
Image :
Original file line number Diff line number Diff line change 1
1
name : Test
2
2
3
3
on :
4
+ # We want to run the CI when anything is pushed to master.
5
+ # Since master is a protected branch this only happens when a PR is merged.
6
+ # This is a double check in case the PR was stale and had some issues.
4
7
push :
8
+ branches :
9
+ - master
5
10
pull_request :
6
11
workflow_dispatch :
7
12
schedule :
8
13
- cron : ' 0 0 * * *' # daily
9
14
15
+ # We want to cancel previous runs for a given PR or branch / ref if another CI
16
+ # run is requested.
17
+ # See: https://docs.github.com/en/actions/using-jobs/using-concurrency
18
+ concurrency :
19
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
20
+ cancel-in-progress : true
21
+
10
22
env :
11
23
# default compiler for all non-compatibility tests
12
24
MATRIX_EVAL : " CC=gcc-11 && CXX=g++-11"
You can’t perform that action at this time.
0 commit comments