Skip to content

Commit

Permalink
Adding python check action.
Browse files Browse the repository at this point in the history
  • Loading branch information
PerryWerneck committed Nov 1, 2024
1 parent 03c229b commit 8ec4176
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/pycheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: py-check
on:
push:
branches: [ "python" ]
pull_request:
branches: [ "master" ]

jobs:
pycheck-linux:
runs-on: ubuntu-latest
name: Check linux python build
steps:
- name: Fetch Sources
uses: actions/checkout@v3
- name: Install Python Dependencies
run: pip install meson ninja
- name: Build package
run: |
pip wheel .
pycheck-windows:
runs-on: windows-latest
name: Check windows python build
steps:
- name: Fetch Sources
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Python Dependencies
run: pip install meson ninja
- name: Prepare MSVC
uses: bus1/cabuild/action/msdevshell@v1
with:
architecture: x64
- name: Build package
run: |
pip wheel .

0 comments on commit 8ec4176

Please sign in to comment.