Add GitHub Action to test if project is buildable.
This commit is contained in:
parent
bdd02c76d3
commit
69dec865ff
1 changed files with 32 additions and 0 deletions
32
.github/workflows/debug.yml
vendored
Normal file
32
.github/workflows/debug.yml
vendored
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
|
||||||
|
name: Check if Cog buildable
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build Cog for Intel
|
||||||
|
runs-on: macos-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
- name: Run xcodebuild
|
||||||
|
run: >
|
||||||
|
xcodebuild
|
||||||
|
-workspace Cog.xcodeproj/project.xcworkspace
|
||||||
|
-scheme Cog
|
||||||
|
-configuration Debug
|
||||||
|
-derivedDataPath output
|
||||||
|
build
|
||||||
|
- name: Upload Artifact
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: Cog
|
||||||
|
path: output/Build/Products/Debug/Cog.app
|
Loading…
Reference in a new issue