-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update workflow to run on push to master
- Loading branch information
Showing
1 changed file
with
48 additions
and
43 deletions.
There are no files selected for viewing
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
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 |