Skip to content

Commit

Permalink
Update workflow to run on push to master
Browse files Browse the repository at this point in the history
  • Loading branch information
loglund committed Aug 22, 2023
1 parent f6b79d9 commit 3eead85
Showing 1 changed file with 33 additions and 29 deletions.
62 changes: 33 additions & 29 deletions .github/workflows/nodebug.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,44 @@
name: No Assertions
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.extra_resolve_options }}
jobs:
ndebug:
name: No Assertions
runs-on: [self-hosted, docker, builder]
container:
image: ghcr.io/steinwurf/python-bindings:latest
options: --user 0:0
volumes:
- /home/buildbot/.ssh:/root/.ssh
- /home/buildbot/.ssh:/root/.ssh
name: No Assertions
runs-on:
- self-hosted
- docker
- builder
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Configure
env:
EXTRA_RESOLVE_OPTIONS: ${{ inputs.extra_resolve_options }}
GIT_SSH_COMMAND: ssh -i /home/buildbot/.ssh/id_ed25519 -o IdentitiesOnly=yes
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: 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

0 comments on commit 3eead85

Please sign in to comment.