Skip to content

GitLab CI: Disable deploy of page for now #1049

GitLab CI: Disable deploy of page for now

GitLab CI: Disable deploy of page for now #1049

Workflow file for this run

name: iOS
on: [push]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Cache CPM.cmake packages
uses: actions/cache@v4
with:
path: .cache/cpm
key: cpm
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Configure with CMake
run: cmake -Bbuild-ios -GXcode -DCMAKE_TOOLCHAIN_FILE=cmake/iOS.toolchain.cmake -DIOS_PLATFORM=SIMULATOR
- name: Build with Xcode
run: xcodebuild -quiet -project build-ios/jngl.xcodeproj -sdk iphonesimulator -arch x86_64 -target jngl-test
- name: Configure with CMake (tvOS)
run: cmake -Bbuild-tvossimulator -GXcode -DCMAKE_TOOLCHAIN_FILE=cmake/tvOS.toolchain.cmake -DIOS_PLATFORM=SIMULATOR
- name: Build with Xcode (tvOS)
run: xcodebuild -quiet -project build-tvossimulator/jngl.xcodeproj -sdk appletvsimulator -arch x86_64 -target jngl-test
env:
CPM_SOURCE_CACHE: ${{ github.workspace }}/.cache/cpm