Skip to content

Commit

Permalink
Add CI for Metal
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Dec 19, 2023
1 parent c00954f commit 988edc2
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/Metal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Metal"

# Test that Metal build works with no specific option on Apple
on:
workflow_dispatch:
pull_request:
push:


jobs:
build:
name: Cpp Lib
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
test_engine: [ON, OFF]

steps:
- uses: actions/checkout@v3
with:
submodules: true

- name: Build and install
shell: bash
run: |
mkdir build
cd build
cmake .. -DHELLOIMGUI_USE_SDL_METAL=ON -DHELLOIMGUI_WITH_TEST_ENGINE=${{ matrix.test_engine }} -DCMAKE_BUILD_TYPE=Release
cmake --build . -j 3

0 comments on commit 988edc2

Please sign in to comment.