Skip to content

Linux C++ make-specs #850

Linux C++ make-specs

Linux C++ make-specs #850

Workflow file for this run

name: Linux C++ make-specs
'on':
workflow_dispatch:
inputs:
extra_resolve_options:
description: Extra Resolve Options
required: false
schedule:
- cron: 0 1 * * *
push:
branches:
- master
pull_request:
env:
EXTRA_RESOLVE_OPTIONS: ${{ github.event.inputs.extra_resolve_options }}
jobs:
docker_builds:
container:
image: ${{ matrix.config.container }}
options: --user 0:0
volumes:
- /home/buildbot/.ssh:/root/.ssh
name: ${{ matrix.config.name }}
runs-on:
- self-hosted
- docker
- builder
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Waf Configure
run: python3 waf configure --git_protocol=git@ ${{ matrix.config.cxx_mkspec
}} $EXTRA_RESOLVE_OPTIONS
- name: Waf Build
run: 'echo "::add-matcher::.github/gcc-problem-matcher.json"
python3 waf
'
- name: Waf Test
run: python3 waf --run_tests --run_cmd="%s --os=${{matrix.config.test_os}} --compiler=${{matrix.config.test_compiler}}
--arch=${{matrix.config.test_arch}}"
strategy:
fail-fast: false
matrix:
config:
- container: ghcr.io/steinwurf/gcc-11.2.0:1.0.0
cxx_mkspec: --cxx_mkspec=cxx_gxx112_x64
name: GCC 11.2
test_arch: x86_64
test_compiler: gcc
test_os: linux
- container: ghcr.io/steinwurf/gcc-6.3.0:1.0.0
cxx_mkspec: --cxx_mkspec=cxx_gxx63_x64
name: GCC 6.3
test_arch: x86_64
test_compiler: gcc
test_os: linux
- container: ghcr.io/steinwurf/clang-3.9:1.0.0
cxx_mkspec: --cxx_mkspec=cxx_clang39_x64
name: Clang 3.9
test_arch: x86_64
test_compiler: clang
test_os: linux
- container: ghcr.io/steinwurf/clang-13:1.0.0
cxx_mkspec: --cxx_mkspec=cxx_clang130_x64
name: Clang 13
test_arch: x86_64
test_compiler: clang
test_os: linux
- container: ghcr.io/steinwurf/clang-13:1.0.0
cxx_mkspec: --cxx_mkspec=cxx_clang13_address_sanitizer_x64
name: Clang 13 Address Sanitizer
test_arch: x86_64
test_compiler: clang
test_os: linux
- container: ghcr.io/steinwurf/clang-13:1.0.0
cxx_mkspec: --cxx_mkspec=cxx_clang13_thread_sanitizer_x64
name: Clang 13 Thread Sanitizer
test_arch: x86_64
test_compiler: clang
test_os: linux
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true