Skip to content

Waf Python Tests

Waf Python Tests #745

Workflow file for this run

name: Waf Python Tests
on:
workflow_dispatch:
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
branches:
- master
pull_request:
jobs:
waf:
strategy:
fail-fast: false
matrix:
os: [Windows, Linux]
runs-on: [self-hosted, "${{ matrix.os }}", builder]
name: ${{ matrix.os }} Waf
env:
python: python3
steps:
- name: Rename python3 to python on Windows
if: runner.os == 'Windows'
run: echo "python=python" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
- name: Checkout
uses: actions/checkout@v2
- name: Configure
run: ${{ env.python }} waf configure
- name: Build
run: ${{ env.python }} waf
- name: Test
run: ${{ env.python }} waf --run_tests