File tree 10 files changed +21
-18
lines changed
10 files changed +21
-18
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,12 @@ concurrency:
9
9
jobs :
10
10
stubs :
11
11
# Pushes should only run on mainline branch "development"
12
- # TODO: We can also skip this, if the latest commit's name is "Update Stub Files"
13
- if : github.event_name == 'push' && github.repository == 'AMReX-Codes/pyamrex' && github.ref == 'refs/heads/development'
14
12
name : 🔄 Update Stub Files
15
13
secrets :
16
14
PYAMREX_PUSH_TOKEN : ${{ secrets.PYAMREX_PUSH_TOKEN }}
17
15
uses : ./.github/workflows/stubs.yml
18
16
19
17
ubuntu :
20
- if : always() && !contains(needs.*.result, 'failure') && github.event.pull_request.draft == false
21
18
name : 🐧 Ubuntu
22
19
needs : [stubs]
23
20
uses : ./.github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change 16
16
env :
17
17
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18
18
steps :
19
- - uses : actions/checkout@v3
19
+ - uses : actions/checkout@v4
20
20
- name : Clean up ccahe
21
21
run : |
22
22
gh extension install actions/gh-actions-cache
Original file line number Diff line number Diff line change 16
16
env :
17
17
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18
18
steps :
19
- - uses : actions/checkout@v3
19
+ - uses : actions/checkout@v4
20
20
- name : Clean up ccahe
21
21
run : |
22
22
gh extension install actions/gh-actions-cache
Original file line number Diff line number Diff line change 25
25
26
26
steps :
27
27
- name : Checkout
28
- uses : actions/checkout@v3
28
+ uses : actions/checkout@v4
29
29
30
30
- name : Clean Out
31
31
run : |
Original file line number Diff line number Diff line change 14
14
CXXFLAGS : " -Werror -Wno-deprecated-declarations -Wno-error=pass-failed -fno-operator-names"
15
15
CMAKE_GENERATOR : Ninja
16
16
steps :
17
- - uses : actions/checkout@v3
17
+ - uses : actions/checkout@v4
18
18
- name : install dependencies
19
19
shell : bash
20
20
run : |
Original file line number Diff line number Diff line change 11
11
name : oneAPI SYCL 3D
12
12
runs-on : ubuntu-20.04
13
13
steps :
14
- - uses : actions/checkout@v3
14
+ - uses : actions/checkout@v4
15
15
- name : Dependencies
16
16
run : |
17
17
.github/workflows/dependencies/dpcpp.sh
60
60
name : ICPX
61
61
runs-on : ubuntu-20.04
62
62
steps :
63
- - uses : actions/checkout@v3
63
+ - uses : actions/checkout@v4
64
64
- name : Dependencies
65
65
run : |
66
66
.github/workflows/dependencies/dpcpp.sh
@@ -117,7 +117,7 @@ jobs:
117
117
name : ICC
118
118
runs-on : ubuntu-20.04
119
119
steps :
120
- - uses : actions/checkout@v3
120
+ - uses : actions/checkout@v4
121
121
- name : install dependencies
122
122
run : |
123
123
export DEBIAN_FRONTEND=noninteractive
Original file line number Diff line number Diff line change 14
14
15
15
runs-on : macos-latest
16
16
steps :
17
- - uses : actions/checkout@v3
17
+ - uses : actions/checkout@v4
18
18
- name : Dependencies
19
19
run : .github/workflows/dependencies/dependencies_mac.sh
20
20
- name : Set Up Cache
Original file line number Diff line number Diff line change @@ -25,10 +25,15 @@ jobs:
25
25
26
26
steps :
27
27
- uses : actions/checkout@v4
28
+ if : github.event_name != 'push' || github.repository != 'AMReX-Codes/pyamrex' || github.ref != 'refs/heads/development'
29
+
30
+ - uses : actions/checkout@v4
31
+ if : github.event_name == 'push' && github.repository == 'AMReX-Codes/pyamrex' && github.ref == 'refs/heads/development'
28
32
with :
29
33
token : ${{ secrets.PYAMREX_PUSH_TOKEN }}
30
34
31
35
- name : Pull Remote Changes
36
+ if : github.event_name == 'push' && github.repository == 'AMReX-Codes/pyamrex' && github.ref == 'refs/heads/development'
32
37
run : git pull
33
38
34
39
- uses : actions/setup-python@v4
84
89
85
90
- uses : stefanzweifel/git-auto-commit-action@v5
86
91
name : Commit Updated Stub Files
92
+ if : github.event_name == 'push' && github.repository == 'AMReX-Codes/pyamrex' && github.ref == 'refs/heads/development'
87
93
with :
88
94
commit_message : Update Stub Files
Original file line number Diff line number Diff line change 16
16
CXX : g++-7
17
17
CXXFLAGS : " -Werror -Wshadow -Woverloaded-virtual -Wunreachable-code -fno-operator-names -Wno-array-bounds"
18
18
steps :
19
- - uses : actions/checkout@v3
19
+ - uses : actions/checkout@v4
20
20
- uses : actions/setup-python@v4
21
21
name : Install Python
22
22
with :
57
57
runs-on : ubuntu-22.04
58
58
env : {CXXFLAGS: "-Werror -Wno-error=deprecated-declarations -Wshadow -Woverloaded-virtual -Wunreachable-code -fno-operator-names"}
59
59
steps :
60
- - uses : actions/checkout@v3
60
+ - uses : actions/checkout@v4
61
61
- name : Dependencies
62
62
run : |
63
63
.github/workflows/dependencies/dependencies_gcc10.sh
@@ -108,7 +108,7 @@ jobs:
108
108
runs-on : ubuntu-20.04
109
109
env : {CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -fno-operator-names -Wno-pass-failed"}
110
110
steps :
111
- - uses : actions/checkout@v3
111
+ - uses : actions/checkout@v4
112
112
- name : Dependencies
113
113
run : |
114
114
.github/workflows/dependencies/dependencies_clang6.sh
@@ -151,7 +151,7 @@ jobs:
151
151
CXX : " clang++"
152
152
CC : " clang"
153
153
steps :
154
- - uses : actions/checkout@v3
154
+ - uses : actions/checkout@v4
155
155
- name : Dependencies
156
156
run : |
157
157
.github/workflows/dependencies/dependencies_clang14_libcpp.sh
@@ -189,7 +189,7 @@ jobs:
189
189
runs-on : ubuntu-20.04
190
190
env : {CXXFLAGS: "-fno-operator-names"}
191
191
steps :
192
- - uses : actions/checkout@v3
192
+ - uses : actions/checkout@v4
193
193
- name : Dependencies
194
194
run : |
195
195
.github/workflows/dependencies/dependencies_nvcc11.sh
Original file line number Diff line number Diff line change 11
11
name : MSVC w/o MPI static release
12
12
runs-on : windows-latest
13
13
steps :
14
- - uses : actions/checkout@v3
14
+ - uses : actions/checkout@v4
15
15
- uses : actions/setup-python@v4
16
16
with :
17
17
python-version : ' 3.x'
33
33
name : Clang w/o MPI shared debug
34
34
runs-on : windows-latest
35
35
steps :
36
- - uses : actions/checkout@v3
36
+ - uses : actions/checkout@v4
37
37
- uses : actions/setup-python@v4
38
38
with :
39
39
python-version : ' 3.x'
You can’t perform that action at this time.
0 commit comments