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 b163b0e commit 10b7c03
Showing 1 changed file with 48 additions and 43 deletions.
91 changes: 48 additions & 43 deletions .github/workflows/python-waf.yml
Original file line number Diff line number Diff line change
@@ -1,53 +1,58 @@
name: Waf Python Tests
on:
workflow_dispatch:
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
jobs:
waf-windows:
runs-on: [self-hosted, Windows]
name: Windows Waf
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Configure
run: python waf configure
- name: Build
run: python waf
- name: Test
run: python waf --run_tests -vv
waf-linux:
runs-on: [self-hosted, docker, builder]
name: Linux Waf
container:
image: python:3.9.5
options: --user 0:0
volumes:
- /home/buildbot/.ssh:/root/.ssh
- /home/buildbot/.ssh:/root/.ssh
name: Linux Waf
runs-on:
- self-hosted
- docker
- builder
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Configure
run: python3 waf configure
- name: Build
run: python3 waf
- name: Test
run: python3 waf --run_tests -vv
- name: Checkout
uses: actions/checkout@v2
- name: Configure
run: python3 waf configure
- name: Build
run: python3 waf
- name: Test
run: python3 waf --run_tests -vv
waf-macos:
runs-on: [self-hosted, macOS]
name: macOS Waf
runs-on:
- self-hosted
- macOS
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Configure
run: python3 waf configure
- name: Build
run: python3 waf
- name: Test
run: python3 waf --run_tests -vv
waf-windows:
name: Windows Waf
runs-on:
- self-hosted
- Windows
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Configure
run: python3 waf configure
- name: Build
run: python3 waf
- name: Test
run: python3 waf --run_tests -vv




- name: Checkout
uses: actions/checkout@v2
- name: Configure
run: python waf configure
- name: Build
run: python waf
- name: Test
run: python waf --run_tests -vv
name: Waf Python Tests
'on':
pull_request: null
push:
branches:
- master
schedule:
- cron: 0 1 * * *
workflow_dispatch: null

0 comments on commit 10b7c03

Please sign in to comment.