Fix publish wheels for macos (#63) #29
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: Test windows | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
test_windows: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest] | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
# see https://github.com/microsoft/setup-msbuild | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Build lilcom | |
shell: bash | |
run: | | |
python3 setup.py install --verbose | |
- name: Run tests | |
shell: bash | |
run: | | |
rm -rfv lilcom | |
python3 -c "import lilcom; print(lilcom.__file__)" | |
python3 -c "import lilcom_extension; print(lilcom_extension.__file__)" | |
python3 ./test/test_lilcom.py | |
python3 ./test/test_speed.py | |
python3 ./test/test_header.py |