2022-07-02 08:01:25 +00:00
|
|
|
---
|
2020-12-26 10:04:37 +00:00
|
|
|
name: Build Targets
|
2020-02-16 11:00:25 +00:00
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2021-08-14 10:03:02 +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-06-16 06:43:39 +00:00
|
|
|
runs-on: "macos-12"
|
2020-02-16 11:00:25 +00:00
|
|
|
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'
|
2020-05-11 13:37:20 +00:00
|
|
|
}
|
2022-07-02 08:01:45 +00:00
|
|
|
]
|
2020-02-16 11:00:25 +00:00
|
|
|
|
|
|
|
steps:
|
2022-07-02 08:02:04 +00:00
|
|
|
- uses: actions/checkout@v3
|
2020-02-16 11:00:25 +00:00
|
|
|
|
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 }}
|
2020-02-16 11:00:25 +00:00
|
|
|
|
2022-07-02 08:01:25 +00:00
|
|
|
- name: List Build Directory
|
|
|
|
if: always()
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
git status
|
|
|
|
ls -lR .
|
|
|
|
...
|