Skip to content

Commit

Permalink
Reworked cache ci to fix rms install
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinp0 committed Nov 9, 2023
1 parent 508cf74 commit 129fc01
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/update-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
run: |
cd RMG-Py
conda activate rmg_env
make clean
make
echo "PYTHONPATH=$(pwd):$PYTHONPATH" >> $GITHUB_ENV
echo "PATH=$(pwd):$PATH" >> $GITHUB_ENV
Expand All @@ -113,13 +114,11 @@ jobs:
${{ runner.os }}-julia-${{ env.CACHE_NUMBER }}-rms

- name: Install RMS Julia
run: julia -e 'using Pkg; Pkg.add(PackageSpec(name="ReactionMechanismSimulator",rev="main"));using ReactionMechanismSimulator'

- name: Link Python-JL
run: |
ln -sfn $(which python-jl) $(which python)
cd ..
run: julia -e 'using Pkg; Pkg.add(PackageSpec(name="PyCall",rev="master"));Pkg.build("PyCall");Pkg.add(PackageSpec(name="ReactionMechanismSimulator",rev="main")); using ReactionMechanismSimulator;'

- name: Install PyCall RMG_ENV
run: python -c "import julia; julia.install(); import diffeqpy; diffeqpy.install()"

- name: Install ARC
run: |
cd ARC
Expand Down

0 comments on commit 129fc01

Please sign in to comment.