Skip to content

Update No Assertions to be concurrent #753

Update No Assertions to be concurrent

Update No Assertions to be concurrent #753

Workflow file for this run

name: CMake
on:
workflow_dispatch:
inputs:
extra_resolve_options:
description: "Extra Resolve Options"
required: false
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
env:
EXTRA_RESOLVE_OPTIONS: ${{ github.event.inputs.resolve_options }}
jobs:
docker_builds:
strategy:
fail-fast: false
matrix:
config:
- container: ghcr.io/steinwurf/python-bindings:latest
name: Cmake 3.16.3 (GCC)
runs-on: [self-hosted, docker, builder]
name: ${{ matrix.config.name }}
container:
image: ${{ matrix.config.container }}
options: --user 0:0
volumes:
- /home/buildbot/.ssh:/root/.ssh
steps:
- name: Checkout
uses: actions/checkout@v2
- name: CMake Cleanup
run: cmake -E remove_directory build
- name: CMake Setup
run: cmake -E make_directory build
- name: CMake Configure
working-directory: ${{github.workspace}}/build
run: cmake ../ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DSTEINWURF_RESOLVE_OPTIONS="--git_protocol=git@ $EXTRA_RESOLVE_OPTIONS"
- name: CMake Build
working-directory: ${{github.workspace}}/build
run: cmake --build .
# Cancel previous in-progress when pushing: https://stackoverflow.com/a/72408109
concurrency:
concurrency:

Check failure on line 45 in .github/workflows/cmake.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cmake.yml

Invalid workflow file

You have an error in your yaml syntax on line 45
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
# Cancel previous in-progress when pushing: https://stackoverflow.com/a/72408109
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true