-
Notifications
You must be signed in to change notification settings - Fork 165
38 lines (32 loc) · 1.14 KB
/
ubuntu22build.yml
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
27
28
29
30
31
32
33
34
35
36
37
38
name: Ubuntu 22 Scopy Build
on: [push, pull_request]
env:
BUILD_HOST: ubuntu-22.04
USERNAME: github-actions
jobs:
build_scopy_on_ubuntu22:
runs-on: ubuntu-22.04
container:
image: cristianbindea/scopy2-ubuntu22:latest
options: --user root
steps:
- uses: actions/checkout@v3
- name: Build Scopy
run: |
/bin/bash -c "export CI_SCRIPT=ON && source $GITHUB_WORKSPACE/ci/ubuntu/ubuntu22_build_process.sh && build_scopy"
- name: Run Tests
run: |
cd $GITHUB_WORKSPACE/build-x86_64
QT_QPA_PLATFORM=offscreen ctest -V --output-on-failure --output-junit $GITHUB_WORKSPACE/test-result-ubuntu22.xml
- name: Report
uses: mikepenz/[email protected]
if: always()
with:
job_name: Verify Results
check_name: 'Scopy Test'
check_title_template: '{{TEST_NAME}}'
report_paths: '${{github.workspace}}/test-result-ubuntu22.xml'
detailed_summary: 'true'
fail_on_failure: 'true'
require_tests: 'true'
include_passed: 'true'