Skip to content

Commit

Permalink
Run tests on windows/macos;
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornbytes committed Jun 14, 2024
1 parent 2054ddc commit e7579c0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,20 @@ jobs:
windows:
name: Windows
runs-on: windows-latest
defaults:
run:
shell: cmd
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Configure
run: cmake -B build
shell: cmd
- name: Build
run: cmake --build build --config %CMAKE_BUILD_TYPE%
shell: cmd
- name: Test
run: build\%CMAKE_BUILD_TYPE%\lovr test
- name: Upload
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -125,6 +128,8 @@ jobs:
run: cmake -B build -D LOVR_BUILD_BUNDLE=ON
- name: Build
run: cmake --build build
- name: Test
run: ./build/bin/lovr test
- name: Package
run: >
cp $VULKAN_SDK/lib/libvulkan.1.3.275.dylib build/lovr.app/Contents/MacOS/libvulkan.1.dylib &&
Expand Down

0 comments on commit e7579c0

Please sign in to comment.