Files
FWS-PacManage/.gitea/workflows/test.yml
T
BlackAngelTV 7b7962c53f
tests / build-test (push) Has been cancelled
ci: target the self-hosted runner label linux
The Gitea runner is registered with the label `linux`, so `ubuntu-latest`
never matched and the workflows could not start. This applies to both the
test and release workflows.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-29 20:47:09 +02:00

41 lines
887 B
YAML

# Gitea Actions — Tests
#
# Dedicated test workflow: builds the application and runs the full test suite
# (ctest) on every push and pull request. Kept separate from the release
# workflow so a failing test never blocks a release.
name: tests
on:
push:
pull_request:
workflow_dispatch:
jobs:
build-test:
runs-on: linux
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
cmake g++ make qt6-base-dev
- name: Configure
run: |
cmake -B build \
-DFWS_BUILD_EXAMPLE_PLUGIN=ON \
-DCMAKE_BUILD_TYPE=Release
- name: Build
run: |
cmake --build build -j$(nproc)
- name: Run all tests
run: |
cd build
ctest --output-on-failure