GitHub Actions: Skip building Demos
This commit is contained in:
parent
c81b666bae
commit
7a92c39a77
23
.github/workflows/CI.yml
vendored
23
.github/workflows/CI.yml
vendored
@ -18,21 +18,13 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- name: "MoltenVK (macOS)"
|
- platform: "macos"
|
||||||
platform: "macos"
|
- platform: "maccat"
|
||||||
demos-scheme: "Cube-macOS"
|
- platform: "ios"
|
||||||
- name: "MoltenVK (macCatalyst)"
|
- platform: "tvos"
|
||||||
platform: "maccat"
|
|
||||||
demos-scheme: ""
|
|
||||||
- name: "MoltenVK (iOS)"
|
|
||||||
platform: "ios"
|
|
||||||
demos-scheme: ""
|
|
||||||
- name: "MoltenVK (tvOS)"
|
|
||||||
platform: "tvos"
|
|
||||||
demos-scheme: ""
|
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
||||||
name: '${{ matrix.name }}'
|
name: 'MoltenVK (${{ matrix.platform }})'
|
||||||
|
|
||||||
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources
|
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
@ -82,11 +74,6 @@ jobs:
|
|||||||
if: failure()
|
if: failure()
|
||||||
run: cat "xcodebuild.log"
|
run: cat "xcodebuild.log"
|
||||||
|
|
||||||
- name: Build Demos
|
|
||||||
if: success() && !(matrix.demos-scheme == '')
|
|
||||||
run: |
|
|
||||||
xcodebuild build -workspace Demos/Demos.xcworkspace -scheme "${{ matrix.demos-scheme }}"
|
|
||||||
|
|
||||||
- name: Tar Artifacts
|
- name: Tar Artifacts
|
||||||
# See: https://github.com/actions/upload-artifact#maintaining-file-permissions-and-case-sensitive-files
|
# See: https://github.com/actions/upload-artifact#maintaining-file-permissions-and-case-sensitive-files
|
||||||
run: tar -cvf "${{ matrix.platform }}.tar" Package/Release/
|
run: tar -cvf "${{ matrix.platform }}.tar" Package/Release/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user