mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 14:41:43 +00:00
ci: reduce number of jobs
build using make and test xcode project generation in the same job
This commit is contained in:
parent
bb09cd33cc
commit
a925b96adc
1 changed files with 7 additions and 13 deletions
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
|
@ -6,7 +6,7 @@ on: [push, pull_request]
|
|||
jobs:
|
||||
build:
|
||||
if: "!contains(github.event.head_commit.message, '[skip build]')"
|
||||
name: ${{ matrix.target }} / ${{ matrix.flavor.name }}
|
||||
name: ${{ matrix.target }}
|
||||
runs-on: macos-12
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
@ -16,23 +16,17 @@ jobs:
|
|||
Raze,
|
||||
PrBoom-Plus
|
||||
]
|
||||
flavor: [
|
||||
{
|
||||
name: Make,
|
||||
args: ''
|
||||
},
|
||||
{
|
||||
name: Xcode,
|
||||
args: '--xcode'
|
||||
}
|
||||
]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Build
|
||||
- name: Build target
|
||||
run: |
|
||||
./build.py --target ${{ matrix.target }} ${{ matrix.flavor.args }}
|
||||
./build.py --target ${{ matrix.target }}
|
||||
|
||||
- name: Generate Xcode project
|
||||
run: |
|
||||
./build.py --target ${{ matrix.target }}
|
||||
|
||||
- name: List Build Directory
|
||||
if: always()
|
||||
|
|
Loading…
Reference in a new issue