27 lines
756 B
YAML
27 lines
756 B
YAML
name: Make Windows Python
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
# Building using the github runner environement directly.
|
|
make:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Check make
|
|
run: make --version
|
|
- name: Check system
|
|
run: make detect_port
|
|
- name: Add Python binaries to path
|
|
run: echo "$((Get-Item ~).FullName)/AppData/Roaming/Python/Python39/Scripts" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
|
- name: Build third party
|
|
run: make third_party -j4
|
|
- name: Build C++
|
|
run: make cc -j4
|
|
- name: Build Python
|
|
run: make python -j4
|
|
- name: Test
|
|
run: make test_python -j4
|
|
- name: Create wheel package
|
|
run: make package_python
|