-
Notifications
You must be signed in to change notification settings - Fork 5
65 lines (65 loc) · 1.34 KB
/
python-waf.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Waf Python Tests
'on':
workflow_dispatch:
inputs:
extra_resolve_options:
description: Extra Resolve Options
required: false
schedule:
- cron: 0 1 * * *
push:
branches:
- master
pull_request:
jobs:
waf-linux:
container:
image: python:3.12
options: --user 0:0
volumes:
- /home/buildbot/.ssh:/root/.ssh
name: Linux Waf
runs-on:
- self-hosted
- docker
- builder
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Configure
run: python3 waf configure
- name: Build
run: python3 waf
- name: Test
run: python3 waf --run_tests -vv
waf-macos:
name: macOS Waf
runs-on:
- self-hosted
- macOS
steps:
- name: Checkout
uses: actions/checkout@v3
- 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@v3
- name: Configure
run: python waf configure
- name: Build
run: python waf
- name: Test
run: python waf --run_tests -vv
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true