Skip to content

Maybe fix linux workflow #9

Maybe fix linux workflow

Maybe fix linux workflow #9

Workflow file for this run

name: Linux Build
on:
push:
branches:
- main
jobs:
build-and-test:
strategy:
matrix:
os: [ ubuntu-22.04, ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install packages
run: |
sudo apt-get update
sudo apt-get -y install cmake g++
sudo apt-get glfw3
if [ ! -d "build" ]; then
mkdir build
fi
- name: show dir
run: ls
- name: Configure build
run: |
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ../
- name: Build project
run: |
cd build
make
# - name: Run tests
# run: |
# cd build
# ctest --output-on-failure