[GitHub Actions] Update to Xcode 12.4, adjust build matrix
This commit is contained in:
parent
fcb4701f47
commit
ac04d80cb9
23
.github/workflows/CI.yml
vendored
23
.github/workflows/CI.yml
vendored
@ -8,26 +8,25 @@ on:
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
# See: https://github.com/actions/virtual-environments/tree/main/images/macos
|
||||
XCODE_DEV_PATH: /Applications/Xcode_12.3.app/Contents/Developer
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- platform: "macos"
|
||||
- platform: "maccat"
|
||||
- platform: "ios"
|
||||
- platform: "tvos"
|
||||
xcode: [ "12.4" ]
|
||||
platform: [ "macos", "maccat", "ios", "tvos" ]
|
||||
os: [ "macos-latest" ]
|
||||
upload_artifacts: [ true ]
|
||||
fail-fast: false
|
||||
|
||||
name: 'MoltenVK (${{ matrix.platform }})'
|
||||
name: 'MoltenVK (Xcode ${{ matrix.xcode }} - ${{ matrix.platform }})'
|
||||
|
||||
# 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: ${{ matrix.os }}
|
||||
|
||||
env:
|
||||
# See: https://github.com/actions/virtual-environments/tree/main/images/macos
|
||||
XCODE_DEV_PATH: "/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer"
|
||||
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
@ -82,10 +81,12 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Tar Artifacts
|
||||
if: success() && matrix.upload_artifacts == true
|
||||
# See: https://github.com/actions/upload-artifact#maintaining-file-permissions-and-case-sensitive-files
|
||||
run: tar -cvf "${{ matrix.platform }}.tar" Package/Release/
|
||||
|
||||
- name: Upload Artifacts
|
||||
if: success() && matrix.upload_artifacts == true
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ matrix.platform }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user