Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,42 @@ jobs:
cd build
ctest
continue-on-error: true

windows:
runs-on: windows-latest

steps:
- uses: actions/checkout@v1

- name: Get latest CMake and ninja
uses: lukka/get-cmake@latest

- name: Setup
uses: lukka/run-vcpkg@v6
id: runvcpkg
with:
vcpkgGitCommitId: fddf97411017bfcd7dd988d754b25efc3d6a1c3e
vcpkgTriplet: 'x64-windows-static'
vcpkgArguments: 'sdl2 sdl2-net sdl2-mixer sdl2-image lua sqlite3 box2d'

- name: Build
run: |
mkdir build
cd build
cmake --version
cmake .. -DCMAKE_BUILD_TYPE=Release -DTOOLS=OFF -DUNITTESTS=OFF
cmake --build .
cmake --install . --component caveexpress --prefix install-caveexpress
cmake --install . --component cavepacker --prefix install-cavepacker

- name: Upload the cavepacker artifacts
uses: actions/upload-artifact@v2
with:
name: cavepacker
path: build/cavepacker-install

- name: Upload the caveexpress artifacts
uses: actions/upload-artifact@v2
with:
name: caveexpress
path: build/caveexpress-install