Fix typos in CI #34
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: Test Ubuntu and macOS | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
test_ubuntu_and_macos: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install python dependencies | |
shell: bash | |
run: | | |
pip install setuptools wheel | |
- name: Build lilcom | |
shell: bash | |
run: | | |
mkdir build | |
cd build | |
cmake .. | |
make -j 2 | |
- name: Show RPATH | |
if: startsWith(matrix.os, 'ubuntu') | |
shell: bash | |
run: | | |
readelf -d build/lib/*.so | |
- name: Show RPATH | |
if: startsWith(matrix.os, 'macos') | |
shell: bash | |
run: | | |
otool -L build/lib/*.so | |
echo "-----------" | |
otool -l build/lib/*.so | |
- name: Run tests | |
shell: bash | |
run: | | |
python3 -m pip install numpy | |
cd build | |
ctest --verbose --output-on-failure | |