Skip to content

Commit

Permalink
Refactoring pychecks.
Browse files Browse the repository at this point in the history
  • Loading branch information
PerryWerneck committed Oct 31, 2024
1 parent 0592630 commit 6b4e25e
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/pycheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
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: 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 6b4e25e

Please sign in to comment.