test #2786
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:testing | |
options: --user root | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Fix | |
run: | | |
/bin/bash -c "sudo apt update && sudo apt -y upgrade && sudo apt install -y mlocate tmux" | |
/bin/bash -c "mlocate libvolk" | |
- name: Setup upterm session | |
uses: lhotari/action-upterm@v1 | |
- name: Build Scopy | |
run: | | |
/bin/bash -c "git config --global --add safe.directory $GITHUB_WORKSPACE" | |
/bin/bash -c "export CI_SCRIPT=ON && $GITHUB_WORKSPACE/ci/ubuntu/ubuntu_build_process.sh build_scopy" | |
- name: Run Tests | |
run: | | |
cd $GITHUB_WORKSPACE/build | |
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' |