Skip to content

Commit 08c4ef0

Browse files
committed
clean up build dir and pick correct working dir when building pymarian.
1 parent b398263 commit 08c4ef0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/macos.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,15 @@ jobs:
5050
./marian-decoder --version
5151
./marian-scorer --version
5252
ls -hlv $(find . -maxdepth 1 -type f -perm +ugo+x \( -name "marian*" -o -name "spm*" \))
53+
cd ..
54+
rm -rf build/
5355
5456
- name: Install PyMarian
55-
working-directory: build
57+
working-directory: src/python
5658
run: |
5759
python3 -m venv .venv && source .venv/bin/activate
5860
python3 -m pip install -U setuptools wheel
5961
python3 -m pip install pybind11 sentencepiece scikit-build
60-
cd ../src/python
6162
python3 setup.py install -j2
6263
cd ../../
6364
python3 -c "from pymarian import Translator"

0 commit comments

Comments
 (0)