Skip to content

updated the test with something more useful #6

updated the test with something more useful

updated the test with something more useful #6

Workflow file for this run

name: Build and Test Glatter
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
jobs:
build-and-test:
name: Build on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies (Linux only)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libgl-dev libx11-dev
# This step uses the default shell, which is bash on Linux.
- name: Configure CMake
shell: bash
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
cmake -B build -S . -A x64
else
cmake -B build -S .
fi
- name: Build with CMake
run: cmake --build build --config Release