mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-25 05:11:49 +00:00
ci: test xcode project generation
This commit is contained in:
parent
913b5fa60a
commit
2365d9101c
1 changed files with 16 additions and 11 deletions
27
.github/workflows/build.yml
vendored
27
.github/workflows/build.yml
vendored
|
@ -6,28 +6,33 @@ on: [push, pull_request]
|
|||
jobs:
|
||||
build:
|
||||
if: "${{ !contains(github.event.head_commit.message, '[skip build]') }}"
|
||||
name: ${{ matrix.config.name }}
|
||||
name: ${{ matrix.target }} / ${{ matrix.flavor.name }}
|
||||
runs-on: "macos-12"
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- {
|
||||
name: "GZDoom"
|
||||
}
|
||||
- {
|
||||
name: "Raze"
|
||||
}
|
||||
- {
|
||||
name: "PrBoom-Plus"
|
||||
target: [
|
||||
GZDoom,
|
||||
Raze,
|
||||
PrBoom-Plus
|
||||
]
|
||||
flavor: [
|
||||
{
|
||||
name: Make,
|
||||
args: ''
|
||||
},
|
||||
{
|
||||
name: Xcode,
|
||||
args: '--xcode'
|
||||
}
|
||||
]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
./build.py --target ${{ matrix.config.name }}
|
||||
./build.py --target ${{ matrix.target }} ${{ matrix.flavor.args }}
|
||||
|
||||
- name: List Build Directory
|
||||
if: always()
|
||||
|
|
Loading…
Reference in a new issue