File tree Expand file tree Collapse file tree 2 files changed +20
-7
lines changed Expand file tree Collapse file tree 2 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ name: Build
3
3
on :
4
4
push :
5
5
paths :
6
- - ' .github/workflows/Build .yml'
6
+ - ' .github/workflows/ci-build .yml'
7
7
- ' src/**.cc'
8
8
- ' src/**.h'
9
9
- ' **/CMakeLists.txt'
10
10
- ' **/*.cmake'
11
11
pull_request :
12
12
paths :
13
- - ' .github/workflows/Build .yml'
13
+ - ' .github/workflows/ci-build .yml'
14
14
- ' src/**.cc'
15
15
- ' src/**.h'
16
16
- ' **/CMakeLists.txt'
93
93
94
94
- name : Build
95
95
run : |
96
- cmake --build build -j $(nproc)
96
+ cmake \
97
+ --build build \
98
+ -j $(nproc) \
99
+ # EOL
97
100
98
101
- name : Upload
99
102
uses : actions/upload-artifact@v3
@@ -119,17 +122,24 @@ jobs:
119
122
120
123
- name : Configure
121
124
run : |
122
- cmake -B build -D CMAKE_BUILD_TYPE=RelWithDebInfo
125
+ cmake \
126
+ -B build \
127
+ -D CMAKE_BUILD_TYPE=RelWithDebInfo \
128
+ # EOL
123
129
124
130
- name : Build
125
131
run : |
126
- cmake --build build -j $(sysctl -n hw.physicalcpu) --target package
132
+ cmake \
133
+ --build build \
134
+ -j $(sysctl -n hw.physicalcpu) \
135
+ --target package \
136
+ # EOL
127
137
128
138
- name : Upload
129
139
uses : actions/upload-artifact@v3
130
140
with :
131
141
name : fallout2-ce-macos.dmg
132
- path : build/_CPack_Packages/Darwin/DragNDrop/fallout2-ce/ fallout2-ce.dmg
142
+ path : build/fallout2-ce.dmg
133
143
retention-days : 7
134
144
135
145
windows :
Original file line number Diff line number Diff line change 65
65
66
66
- name : Build
67
67
run : |
68
- cmake --build build -j $(nproc)
68
+ cmake \
69
+ --build build \
70
+ -j $(nproc) \
71
+ # EOL
69
72
70
73
- name : Upload
71
74
run : |
You can’t perform that action at this time.
0 commit comments