Commit be7d829 1 parent 8419c41 commit be7d829 Copy full SHA for be7d829
File tree 11 files changed +66
-40
lines changed
11 files changed +66
-40
lines changed Original file line number Diff line number Diff line change 1
- name : Check changed files
1
+ name : PR analysis
2
2
3
3
on :
4
4
pull_request :
@@ -9,6 +9,7 @@ concurrency:
9
9
10
10
jobs :
11
11
check_diff :
12
+ name : Check files changed
12
13
runs-on : ubuntu-20.04
13
14
steps :
14
15
- name : Checkout code
19
20
env :
20
21
BASE_REF : ${{ github.event.pull_request.base.ref }}
21
22
HEAD_REF : ${{ github.event.pull_request.head.ref }}
22
- run : |
23
- echo "Base ref: ${BASE_REF}"
24
- echo "Head ref: ${HEAD_REF}"
25
23
- name : Add forked repository as remote
26
24
run : |
27
25
git remote add fork ${{ github.event.pull_request.head.repo.clone_url }}
@@ -31,13 +29,13 @@ jobs:
31
29
- name : Fetch head branch from forked repository
32
30
run : |
33
31
git fetch fork ${HEAD_REF}
34
- - name : Get changed files
32
+ - name : Get files changed
35
33
env :
36
34
BASE_REF : ${{ github.event.pull_request.base.ref }}
37
35
HEAD_REF : ${{ github.event.pull_request.head.ref }}
38
36
run : |
39
37
git diff --name-only --diff-filter=ACMRTUXB origin/${BASE_REF}..fork/${HEAD_REF} > check_diff.txt
40
- - name : Check changed files
38
+ - name : Check files changed
41
39
run : |
42
40
if grep -v -E "^(docs|\.github)/" check_diff.txt; then
43
41
echo "skip=false" >> ${GITHUB_OUTPUT}
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- " development"
7
- pull_request :
7
+ workflow_run :
8
+ workflows : [PR analysis]
9
+ types :
10
+ - completed
8
11
9
12
concurrency :
10
13
group : ${{ github.ref }}-${{ github.head_ref }}-clangsanitizers
15
18
name : Clang UB sanitizer
16
19
runs-on : ubuntu-22.04
17
20
container : ubuntu:23.10
18
- if : github.event.pull_request.draft == false
21
+ if : ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
19
22
env :
20
23
CC : clang
21
24
CXX : clang++
81
84
name : Clang thread sanitizer
82
85
runs-on : ubuntu-22.04
83
86
container : ubuntu:23.10
84
- if : github.event.pull_request.draft == false
87
+ if : ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
85
88
env :
86
89
CC : clang
87
90
CXX : clang++
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- " development"
7
- pull_request :
7
+ workflow_run :
8
+ workflows : [PR analysis]
9
+ types :
10
+ - completed
8
11
9
12
concurrency :
10
13
group : ${{ github.ref }}-${{ github.head_ref }}-clangtidy
18
21
name : clang-tidy-${{ matrix.dim }}D
19
22
runs-on : ubuntu-22.04
20
23
timeout-minutes : 180
21
- if : github.event.pull_request.draft == false
24
+ if : ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
22
25
steps :
23
26
- uses : actions/checkout@v4
24
27
- name : install dependencies
Original file line number Diff line number Diff line change @@ -2,9 +2,12 @@ name: 🔍 CodeQL
2
2
3
3
on :
4
4
push :
5
- branches : [ "development" ]
6
- pull_request :
7
- branches : [ "development" ]
5
+ branches :
6
+ - " development"
7
+ workflow_run :
8
+ workflows : [PR analysis]
9
+ types :
10
+ - completed
8
11
schedule :
9
12
- cron : " 27 3 * * 0"
10
13
16
19
analyze :
17
20
name : Analyze
18
21
runs-on : ubuntu-latest
19
- if : github.event.pull_request.draft == false
22
+ if : ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
20
23
permissions :
21
24
actions : read
22
25
contents : read
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- " development"
7
- pull_request :
8
7
workflow_run :
9
- workflows : [Check changed files]
10
- types : [completed]
8
+ workflows : [PR analysis]
9
+ types :
10
+ - completed
11
11
12
12
concurrency :
13
13
group : ${{ github.ref }}-${{ github.head_ref }}-cuda
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- " development"
7
- pull_request :
7
+ workflow_run :
8
+ workflows : [PR analysis]
9
+ types :
10
+ - completed
8
11
9
12
concurrency :
10
13
group : ${{ github.ref }}-${{ github.head_ref }}-hip
17
20
env :
18
21
CXXFLAGS : " -Werror -Wno-deprecated-declarations -Wno-error=pass-failed"
19
22
CMAKE_GENERATOR : Ninja
20
- if : github.event.pull_request.draft == false
23
+ if : ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
21
24
steps :
22
25
- uses : actions/checkout@v4
23
26
- name : install dependencies
77
80
env :
78
81
CXXFLAGS : " -Werror -Wno-deprecated-declarations -Wno-error=pass-failed"
79
82
CMAKE_GENERATOR : Ninja
80
- if : github.event.pull_request.draft == false
83
+ if : ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
81
84
steps :
82
85
- uses : actions/checkout@v4
83
86
- name : install dependencies
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- " development"
7
- pull_request :
7
+ workflow_run :
8
+ workflows : [PR analysis]
9
+ types :
10
+ - completed
8
11
9
12
concurrency :
10
13
group : ${{ github.ref }}-${{ github.head_ref }}-insituvis
14
17
sensei :
15
18
name : SENSEI
16
19
runs-on : ubuntu-20.04
17
- if : github.event.pull_request.draft == false
20
+ if : ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
18
21
env :
19
22
CXX : clang++
20
23
CC : clang
40
43
ascent :
41
44
name : Ascent
42
45
runs-on : ubuntu-20.04
43
- if : github.event.pull_request.draft == false
46
+ if : ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
44
47
env :
45
48
CXX : g++
46
49
CC : gcc
80
83
catalyst :
81
84
name : Catalyst
82
85
runs-on : ubuntu-22.04
83
- if : github.event.pull_request.draft == false
86
+ if : ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
84
87
env :
85
88
CXX : g++
86
89
CC : gcc
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- " development"
7
- pull_request :
7
+ workflow_run :
8
+ workflows : [PR analysis]
9
+ types :
10
+ - completed
8
11
9
12
concurrency :
10
13
group : ${{ github.ref }}-${{ github.head_ref }}-intel
16
19
build_icc :
17
20
name : oneAPI ICC SP&DP
18
21
runs-on : ubuntu-20.04
19
- if : github.event.pull_request.draft == false
22
+ if : ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
20
23
# For oneAPI, Ninja is slower than the default:
21
24
# env:
22
25
# CMAKE_GENERATOR: Ninja
84
87
CXXFLAGS : " -Werror -Wno-error=pass-failed -Wno-tautological-constant-compare"
85
88
# For oneAPI, Ninja is slower than the default:
86
89
# CMAKE_GENERATOR: Ninja
87
- if : github.event.pull_request.draft == false
90
+ if : ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
88
91
steps :
89
92
- uses : actions/checkout@v4
90
93
- name : install dependencies
@@ -148,7 +151,7 @@ jobs:
148
151
CXXFLAGS : " -Werror -Wno-tautological-constant-compare"
149
152
# For oneAPI, Ninja is slower than the default:
150
153
# CMAKE_GENERATOR: Ninja
151
- if : github.event.pull_request.draft == false
154
+ if : ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
152
155
steps :
153
156
- uses : actions/checkout@v4
154
157
- name : install dependencies
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- " development"
7
- pull_request :
7
+ workflow_run :
8
+ workflows : [PR analysis]
9
+ types :
10
+ - completed
8
11
9
12
concurrency :
10
13
group : ${{ github.ref }}-${{ github.head_ref }}-macos
14
17
build_appleclang :
15
18
name : AppleClang
16
19
runs-on : macos-latest
17
- if : github.event.pull_request.draft == false
20
+ if : ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
18
21
env :
19
22
CXXFLAGS : " -Werror -Wno-error=pass-failed"
20
23
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK : TRUE
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- " development"
7
- pull_request :
7
+ workflow_run :
8
+ workflows : [PR analysis]
9
+ types :
10
+ - completed
8
11
9
12
concurrency :
10
13
group : ${{ github.ref }}-${{ github.head_ref }}-ubuntu
14
17
build_cxxminimal :
15
18
name : GCC Minimal w/o MPI
16
19
runs-on : ubuntu-20.04
17
- if : github.event.pull_request.draft == false
20
+ if : ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
18
21
env :
19
22
CXXFLAGS : " -Werror"
20
23
steps :
52
55
build_1D_2D :
53
56
name : GCC 1D & 2D w/ MPI, QED tools
54
57
runs-on : ubuntu-22.04
55
- if : github.event.pull_request.draft == false
58
+ if : ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
56
59
env :
57
60
CXXFLAGS : " -Werror"
58
61
CXX : " g++-12"
99
102
build_3D_sp :
100
103
name : GCC 3D & RZ w/ MPI, single precision
101
104
runs-on : ubuntu-22.04
102
- if : github.event.pull_request.draft == false
105
+ if : ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
103
106
env :
104
107
CXX : " g++-12"
105
108
CC : " gcc-12"
@@ -146,7 +149,7 @@ jobs:
146
149
build_gcc_ablastr :
147
150
name : GCC ABLASTR w/o MPI
148
151
runs-on : ubuntu-20.04
149
- if : github.event.pull_request.draft == false
152
+ if : ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
150
153
env :
151
154
CMAKE_GENERATOR : Ninja
152
155
CXXFLAGS : " -Werror"
@@ -182,7 +185,7 @@ jobs:
182
185
build_pyfull :
183
186
name : Clang pywarpx
184
187
runs-on : ubuntu-20.04
185
- if : github.event.pull_request.draft == false
188
+ if : ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
186
189
env :
187
190
CC : clang
188
191
CXX : clang++
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- " development"
7
- pull_request :
7
+ workflow_run :
8
+ workflows : [PR analysis]
9
+ types :
10
+ - completed
8
11
9
12
concurrency :
10
13
group : ${{ github.ref }}-${{ github.head_ref }}-windows
16
19
runs-on : windows-latest
17
20
# disabled due to issues in #5230
18
21
if : 0
19
- # if: github.event.pull_request.draft == false
22
+ # if: ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
20
23
steps :
21
24
- uses : actions/checkout@v4
22
25
- uses : actions/setup-python@v5
67
70
build_win_clang :
68
71
name : Clang C++17 w/ OMP w/o MPI
69
72
runs-on : windows-2019
70
- if : github.event.pull_request.draft == false
73
+ if : 0
74
+ # if: ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
71
75
steps :
72
76
- uses : actions/checkout@v4
73
77
- uses : actions/setup-python@v5
You can’t perform that action at this time.
0 commit comments