Add u8 channel retrieval methods and equality operator for Rgb class #1192
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |