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
|
|
|
|
2023-02-04 11:35:16 +00:00
|
|
|
on:
|
|
|
|
- push
|
|
|
|
- pull_request
|
2020-02-16 11:00:25 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2022-07-02 08:02:25 +00:00
|
|
|
if: "!contains(github.event.head_commit.message, '[skip build]')"
|
2023-01-10 14:41:38 +00:00
|
|
|
name: ${{ matrix.target }}
|
2022-07-02 08:02:25 +00:00
|
|
|
runs-on: macos-12
|
2020-02-16 11:00:25 +00:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2023-02-04 11:35:16 +00:00
|
|
|
target:
|
|
|
|
- GZDoom
|
|
|
|
- Raze
|
|
|
|
- PrBoom-Plus
|
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
|
|
|
|
2023-01-10 14:41:38 +00:00
|
|
|
- name: Build target
|
|
|
|
run: |
|
|
|
|
./build.py --target ${{ matrix.target }}
|
|
|
|
|
|
|
|
- name: Generate Xcode project
|
2022-07-02 08:01:25 +00:00
|
|
|
run: |
|
2023-02-21 08:45:20 +00:00
|
|
|
./build.py --target ${{ matrix.target }} --xcode
|
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 .
|
|
|
|
...
|