mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-22 03:51:33 +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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: "!contains(github.event.head_commit.message, '[skip build]')"
|
if: "!contains(github.event.head_commit.message, '[skip build]')"
|
||||||
name: ${{ matrix.target }} / ${{ matrix.flavor.name }}
|
name: ${{ matrix.target }}
|
||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -16,23 +16,17 @@ jobs:
|
||||||
Raze,
|
Raze,
|
||||||
PrBoom-Plus
|
PrBoom-Plus
|
||||||
]
|
]
|
||||||
flavor: [
|
|
||||||
{
|
|
||||||
name: Make,
|
|
||||||
args: ''
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: Xcode,
|
|
||||||
args: '--xcode'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build
|
- name: Build target
|
||||||
run: |
|
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
|
- name: List Build Directory
|
||||||
if: always()
|
if: always()
|
||||||
|
|
Loading…
Reference in a new issue