Added ska sdl file to simplify sdl event loop. #112
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: ubuntu-gcc-build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: install updates | |
run: | | |
sudo apt install gcc-11 | |
sudo apt install g++-11 | |
- name: get cmake | |
uses: lukka/get-cmake@latest | |
with: | |
useLocalCache: true | |
useCloudCache: false | |
cmakeVersion: "3.27.0" | |
- name: run build | |
uses: lukka/[email protected] | |
with: | |
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt' | |
configurePreset: 'ninja-multi-vcpkg' | |
configurePresetAdditionalArgs: "['-DIS_CI_BUILD=true']" | |
buildPreset: 'ninja-multi-vcpkg' | |
- name: run unit tests | |
run: | | |
echo "Running seika tests!" | |
${{ github.workspace }}/builds/Debug/seika_test |