mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-11-02 08:30:25 +00:00
Format workflows
This commit is contained in:
parent
6a6d691b8d
commit
42376b7172
@ -3,14 +3,14 @@ name: Build
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/Build.yml'
|
- '.github/workflows/ci-build.yml'
|
||||||
- 'src/**.cc'
|
- 'src/**.cc'
|
||||||
- 'src/**.h'
|
- 'src/**.h'
|
||||||
- '**/CMakeLists.txt'
|
- '**/CMakeLists.txt'
|
||||||
- '**/*.cmake'
|
- '**/*.cmake'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/Build.yml'
|
- '.github/workflows/ci-build.yml'
|
||||||
- 'src/**.cc'
|
- 'src/**.cc'
|
||||||
- 'src/**.h'
|
- 'src/**.h'
|
||||||
- '**/CMakeLists.txt'
|
- '**/CMakeLists.txt'
|
||||||
@ -93,7 +93,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cmake --build build -j $(nproc)
|
cmake \
|
||||||
|
--build build \
|
||||||
|
-j $(nproc) \
|
||||||
|
# EOL
|
||||||
|
|
||||||
- name: Upload
|
- name: Upload
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
@ -119,17 +122,24 @@ jobs:
|
|||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: |
|
run: |
|
||||||
cmake -B build -D CMAKE_BUILD_TYPE=RelWithDebInfo
|
cmake \
|
||||||
|
-B build \
|
||||||
|
-D CMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
|
# EOL
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cmake --build build -j $(sysctl -n hw.physicalcpu) --target package
|
cmake \
|
||||||
|
--build build \
|
||||||
|
-j $(sysctl -n hw.physicalcpu) \
|
||||||
|
--target package \
|
||||||
|
# EOL
|
||||||
|
|
||||||
- name: Upload
|
- name: Upload
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: fallout2-ce-macos.dmg
|
name: fallout2-ce-macos.dmg
|
||||||
path: build/_CPack_Packages/Darwin/DragNDrop/fallout2-ce/fallout2-ce.dmg
|
path: build/fallout2-ce.dmg
|
||||||
retention-days: 7
|
retention-days: 7
|
||||||
|
|
||||||
windows:
|
windows:
|
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -65,7 +65,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cmake --build build -j $(nproc)
|
cmake \
|
||||||
|
--build build \
|
||||||
|
-j $(nproc) \
|
||||||
|
# EOL
|
||||||
|
|
||||||
- name: Upload
|
- name: Upload
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user