Created
June 10, 2020 06:33
-
-
Save onatbas/7e304bedb8a045f5c7a85dc3b89ea972 to your computer and use it in GitHub Desktop.
Action description for cmake build and test - out it into .github/workflows
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: CI | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Update apt | |
run: sudo apt update | |
- name: Install GCC | |
run: sudo apt install gcc -y | |
- name: Install CMake | |
run: sudo apt install cmake -y | |
- name: Install boost | |
run: sudo apt install libboost-all-dev -y | |
- name: Install SDL2 | |
run: sudo apt install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev -y --fix-missing | |
- name: build | |
run: | | |
mkdir bin | |
cd bin | |
cmake .. | |
cmake --build . | |
ctest -V -R LACUNA_AUTOMATED |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment