Skip to content

Commit

Permalink
clean up build dir and pick correct working dir when building pymarian.
Browse files Browse the repository at this point in the history
  • Loading branch information
erip committed Sep 21, 2022
1 parent b398263 commit 08c4ef0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,15 @@ jobs:
./marian-decoder --version
./marian-scorer --version
ls -hlv $(find . -maxdepth 1 -type f -perm +ugo+x \( -name "marian*" -o -name "spm*" \))
cd ..
rm -rf build/
- name: Install PyMarian
working-directory: build
working-directory: src/python
run: |
python3 -m venv .venv && source .venv/bin/activate
python3 -m pip install -U setuptools wheel
python3 -m pip install pybind11 sentencepiece scikit-build
cd ../src/python
python3 setup.py install -j2
cd ../../
python3 -c "from pymarian import Translator"

0 comments on commit 08c4ef0

Please sign in to comment.