zdoom-macos-deps/.github/workflows/build.yml

44 lines
822 B
YAML
Raw Normal View History

2022-07-02 08:01:25 +00:00
---
2020-12-26 10:04:37 +00:00
name: Build Targets
on: [push, pull_request]
jobs:
build:
2022-07-02 08:02:25 +00:00
if: "!contains(github.event.head_commit.message, '[skip build]')"
2022-07-02 08:01:45 +00:00
name: ${{ matrix.target }} / ${{ matrix.flavor.name }}
2022-07-02 08:02:25 +00:00
runs-on: macos-12
strategy:
fail-fast: false
matrix:
2022-07-02 08:01:45 +00:00
target: [
GZDoom,
Raze,
PrBoom-Plus
]
flavor: [
{
name: Make,
args: ''
},
{
name: Xcode,
args: '--xcode'
}
2022-07-02 08:01:45 +00:00
]
steps:
- uses: actions/checkout@v3
2022-07-02 08:01:25 +00:00
- name: Build
run: |
2022-07-02 08:01:45 +00:00
./build.py --target ${{ matrix.target }} ${{ matrix.flavor.args }}
2022-07-02 08:01:25 +00:00
- name: List Build Directory
if: always()
shell: bash
run: |
git status
ls -lR .
...