Skip to content

Commit

Permalink
Fixes for the macos workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
oulap committed Sep 23, 2024
1 parent 1ae127b commit 0c279dc
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,19 @@ jobs:
strategy:
matrix:
os: [macos-latest, macos-13]
python-version: ["3.8", "3.9", "3.10", "3.11"]

runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install Python
run: |
- name: Set up python versions ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

brew install [email protected]
brew install [email protected]
brew install [email protected]
brew install [email protected]
- name: Checkout submodules
run: |
git submodule init
Expand Down Expand Up @@ -57,12 +55,14 @@ jobs:
make install
cd ..
- name: Build samseg
- name: Build samseg for python version ${{ matrix.python-version }} and test
run: |
.github/workflows/macos_build.sh /usr/local/bin/python3.8
.github/workflows/macos_build.sh /usr/local/bin/python3.9
.github/workflows/macos_build.sh /usr/local/bin/python3.10
.github/workflows/macos_build.sh /usr/local/bin/python3.11
python -m pip wheel . -w ./dist --no-deps
python -m pip install samseg -f dist/
python -m pip install pytest
python -m pip install tensorflow
python -m pytest samseg/tests
rm samseg/gems/*.so
env:
ITK_DIR: ITK-install
ZLIB_INCLUDE_DIR: zlib-install/include
Expand Down

0 comments on commit 0c279dc

Please sign in to comment.