-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
03c229b
commit 8ec4176
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . | ||