Files
location_plotter/.github/workflows/build.yml
T
onur 2856c5a560
Ubuntu build / build-and-test (ubuntu-22.04) (push) Has been cancelled
Ubuntu build / build-and-test (ubuntu-24.04) (push) Has been cancelled
Initial commit: add Location Plotter
2026-07-16 13:16:12 +03:00

31 lines
638 B
YAML

name: Ubuntu build
on:
push:
pull_request:
jobs:
build-and-test:
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-24.04]
runs-on: ${{ matrix.os }}
steps:
- name: Check out source
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential cmake qt6-base-dev zlib1g-dev
- name: Configure
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build build --parallel 2
- name: Test
run: ctest --test-dir build --output-on-failure