Skip to content

Update .github/workflows/waf.yml to be concurrent #48

Update .github/workflows/waf.yml to be concurrent

Update .github/workflows/waf.yml to be concurrent #48

Workflow file for this run

name: Waf Tests
on: [push, pull_request]
jobs:
waf:
strategy:
fail-fast: false
matrix:
os: [Windows, Linux]
runs-on: [self-hosted, "${{ matrix.os }}", builder]
name: ${{ matrix.os }} Test
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