mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 14:41:43 +00:00
44 lines
936 B
YAML
44 lines
936 B
YAML
name: Continuous Integration
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
name: ${{ matrix.config.name }}
|
|
runs-on: "macos-latest"
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
config:
|
|
- {
|
|
name: "GZDoom"
|
|
}
|
|
- {
|
|
name: "Raze"
|
|
}
|
|
- {
|
|
name: "PrBoom-Plus"
|
|
}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Configure
|
|
run: |
|
|
echo "::set-env name=PROJECT_NAME_LOWER::$(echo ${{ matrix.config.name }} | tr '[:upper:]' '[:lower:]')"
|
|
|
|
- name: Build
|
|
run: |
|
|
./build.py --target ${PROJECT_NAME_LOWER}
|
|
|
|
- name: Create Package
|
|
shell: bash
|
|
run: |
|
|
mkdir package
|
|
cp -r build/${PROJECT_NAME_LOWER}/make/${PROJECT_NAME_LOWER}.app package
|
|
|
|
- name: Upload Package
|
|
uses: actions/upload-artifact@v1
|
|
with:
|
|
path: package
|
|
name: ${{ matrix.config.name }}
|