mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-02-18 01:21:47 +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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: "${{ !contains(github.event.head_commit.message, '[skip build]') }}"
|
if: "${{ !contains(github.event.head_commit.message, '[skip build]') }}"
|
||||||
name: ${{ matrix.config.name }}
|
name: ${{ matrix.target }} / ${{ matrix.flavor.name }}
|
||||||
runs-on: "macos-12"
|
runs-on: "macos-12"
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
target: [
|
||||||
- {
|
GZDoom,
|
||||||
name: "GZDoom"
|
Raze,
|
||||||
}
|
PrBoom-Plus
|
||||||
- {
|
]
|
||||||
name: "Raze"
|
flavor: [
|
||||||
}
|
{
|
||||||
- {
|
name: Make,
|
||||||
name: "PrBoom-Plus"
|
args: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: Xcode,
|
||||||
|
args: '--xcode'
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
./build.py --target ${{ matrix.config.name }}
|
./build.py --target ${{ matrix.target }} ${{ matrix.flavor.args }}
|
||||||
|
|
||||||
- name: List Build Directory
|
- name: List Build Directory
|
||||||
if: always()
|
if: always()
|
||||||
|
|
Loading…
Reference in a new issue