Skip to content

Commit

Permalink
use requirements for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
vot4anto committed Oct 10, 2024
1 parent aa79f8e commit 5dc29bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macos_arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:
git clone -b ${BRANCH_TEST} https://github.com/gem/oq-engine.git
cd oq-engine
git status
pip install -r requirements-py312-linux64.txt
pip install -r requirements-py312-macos_arm64.txt
pip install -e .
cd $HOME/oq-engine
oq engine --upgrade-db
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/macos_x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,16 +155,15 @@ jobs:
python3 -m venv $HOME/openquake
source $HOME/openquake/bin/activate
pip install -U pip wheel setuptools
#pip install -r https://raw.githubusercontent.com/gem/oq-engine/master/requirements-py311-linux64.txt
cd ${{steps.download.outputs.download-path}}
PYCUT=`echo "${PYTHON_VERSION//.}"`
ls *${PYCUT}*
pip install --force-reinstall *${PYCUT}*
cd $HOME
git clone -b ${BRANCH_TEST} https://github.com/gem/oq-engine.git
cd oq-engine
cd oq-engine
git status
pip install -r requirements-py312-linux64.txt
pip install -r requirements-py312-macos_x86_64.txt
pip install -e .
cd $HOME/oq-engine
oq engine --upgrade-db
Expand Down

0 comments on commit 5dc29bc

Please sign in to comment.