-
Notifications
You must be signed in to change notification settings - Fork 14
26 lines (24 loc) · 746 Bytes
/
ci.yml
File metadata and controls
26 lines (24 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: CI
on: [ push, pull_request, workflow_dispatch ]
jobs:
build_and_test:
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and run tests
run: >
docker run --rm
-v "${GITHUB_WORKSPACE}:/workspace"
julrich/docker_qt:latest
/bin/bash -c "
cd /workspace
&& g++ --version
&& qmake6 --version
&& cd tests
&& mkdir _build
&& cd _build
&& cmake -DCMAKE_BUILD_TYPE=Release ..
&& make all
&& ctest --output-on-failure
"