Adding python check action. #1
Workflow file for this run
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
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 . | |