hyperlogic is building splatapult #35
This file contains 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: Linux/Windows Build | |
run-name: ${{ github.actor }} is building splatapult | |
on: [push] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install System Packages | |
uses: ConorMacBride/install-package@v1 | |
with: | |
apt: libgl-dev libxcb-glx0-dev libglu1-mesa-dev libxxf86vm-dev libxrandr-dev | |
- name: Install CMake | |
uses: lukka/get-cmake@latest | |
- name: Install Vcpkg Packages | |
uses: lukka/run-vcpkg@v11 | |
with: | |
vcpkgJsonGlob: 'vcpkg.json' | |
- name: Configure and Build | |
uses: lukka/run-cmake@v10 | |
with: | |
configurePreset: 'make-vcpkg' | |
buildPreset: 'make-vcpkg-release' | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Get Microsoft Visual Studio for C++ | |
uses: ilammy/msvc-dev-cmd@v1 | |
- name: Install CMake | |
uses: lukka/get-cmake@latest | |
- name: Install Vcpkg Packages | |
uses: lukka/run-vcpkg@v11 | |
with: | |
vcpkgJsonGlob: 'vcpkg.json' | |
- name: Configure and Build | |
uses: lukka/run-cmake@v10 | |
with: | |
configurePreset: 'msvc-vcpkg' | |
buildPreset: 'msvc-vcpkg-release' | |
- name: Upload Artifiacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: windows-build | |
path: builds/msvc-vcpkg/Release |