Update workflow to run on push to master #767
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
env: | |
EXTRA_RESOLVE_OPTIONS: ${{ github.event.inputs.extra_resolve_options }} | |
jobs: | |
ndebug: | |
container: | |
image: ghcr.io/steinwurf/python-bindings:latest | |
options: --user 0:0 | |
volumes: | |
- /home/buildbot/.ssh:/root/.ssh | |
name: No Assertions | |
runs-on: | |
- self-hosted | |
- docker | |
- builder | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- env: | |
EXTRA_RESOLVE_OPTIONS: ${{ inputs.extra_resolve_options }} | |
GIT_SSH_COMMAND: ssh -i /home/buildbot/.ssh/id_ed25519 -o IdentitiesOnly=yes | |
name: Configure | |
run: python3 waf configure --cxx_nodebug --git_protocol=git@ ${{ env.EXTRA_RESOLVE_OPTIONS | |
}} | |
- name: Build | |
run: 'echo "::add-matcher::.github/gcc-problem-matcher.json" | |
python3 waf | |
' | |
- name: Test | |
run: python3 waf --run_tests | |
name: No Assertions | |
'on': | |
pull_request: null | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: 0 1 * * * | |
workflow_dispatch: | |
inputs: | |
extra_resolve_options: | |
description: Extra Resolve Options | |
required: false |