Skip to content

finished workflow

finished workflow #3

name: CMake Build and test
on:
push:
branches: [ "*" ]
jobs:
build-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Prepare ubuntu
run: |
sudo apt update && sudo apt upgrade -y
sudo apt install -y build-essential make cmake clang libsdl2-dev
- name: Build
run: |
chmod +x ./compile.sh
./compile.sh
- name: Test
working-directory: ./build
run: ctest -V