Improve github actions

This commit is contained in:
hakril
2025-01-08 19:07:26 +01:00
parent 9163e981fc
commit 2737a64fd7
2 changed files with 14 additions and 21 deletions
@@ -1,20 +0,0 @@
# V0.1
name: Ctypes Generation
on: [push, workflow_dispatch]
# Allows you to run this workflow manually from the Actions tab
jobs:
build:
runs-on: windows-latest
timeout-minutes: 5
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run:
py .\ctypes_generation\generate.py
@@ -5,7 +5,20 @@ on: [push, workflow_dispatch]
# Allows you to run this workflow manually from the Actions tab
jobs:
build:
generate_ctypes:
runs-on: windows-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run:
py .\ctypes_generation\generate.py
tests:
# Not a real dependency : but starting tests when ctypes generation is broken is not useful
needs: generate_ctypes
runs-on: windows-latest
timeout-minutes: 15
strategy: