ci: Add iOS verification workflow. (#6992)

This commit is contained in:
Steveice10 2023-09-18 20:12:28 -07:00 committed by GitHub
parent 28c542c2c2
commit af5202f6cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

View file

@ -245,6 +245,30 @@ jobs:
with:
name: ${{ env.OS }}-${{ env.TARGET }}
path: src/android/app/artifacts/
ios:
runs-on: macos-latest
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
env:
CCACHE_CPP2: yes
CCACHE_SLOPPINESS: time_macros
CCACHE_DIR: ${{ github.workspace }}/.ccache
OS: ios
TARGET: arm64
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up cache
uses: actions/cache@v3
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ runner.os }}-ios-${{ github.sha }}
restore-keys: |
${{ runner.os }}-ios-
- name: Install tools
run: brew install ccache glslang ninja
- name: Build
run: ./.ci/ios.sh
transifex:
runs-on: ubuntu-latest
container: citraemu/build-environments:linux-fresh