Split Linux and Windows workflows
[scons.git] / .github / workflows / runtest-win.yml
blob98cad55936f1abb3702cbddb206532c07180ab1f
1 # This is a basic workflow to help you get started with Actions
3 name: Full Test Suite on Windows
5 # Controls when the workflow will run
6 on:
7   # Triggers the workflow on push or pull request events but only for the master branch
8   push:
9     branches: [ master ]
10   pull_request:
11     branches: [ master ]
13   # Allows you to run this workflow manually from the Actions tab
14   workflow_dispatch:
16 jobs:
17   runtest-win32:
18     runs-on: windows-latest
19     steps:
20       - uses: actions/checkout@v4.1.6
22       - name: Set up Python 3.12
23         uses: actions/setup-python@v5.1.0
24         with:
25           python-version: '3.12'
27       - name: Install dependencies including ninja
28         run: |
29           python -m pip install --upgrade pip
30           python -m pip install -r requirements-dev.txt
32       - name: runtest
33         run: |
34           python runtest.py --all --time --jobs=4
36       - name: Archive Failed tests
37         uses: actions/upload-artifact@v3.1.3
38         with:
39           name: windows-failed-tests
40           path: |
41             failed_tests.log