Skip to content

Commit

Permalink
Activate RMG Env
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinp0 committed Apr 17, 2023
1 parent 1def259 commit 5496bf5
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/cont_int.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,23 @@ jobs:
- name: Cythonize RMG
run: |
cd RMG-Py
conda activate rmg_env
make
python -c "import julia; julia.install(); import diffeqpy; diffeqpy.install()"
julia -e 'using Pkg; Pkg.add(PackageSpec(name="ReactionMechanismSimulator",rev="main"));using ReactionMechanismSimulator'
ln -sfn $(which python-jl) $(which python)
cd ..
- name: Cache Cython modules
uses: actions/cache@v2
with:
path: RMG-Py/build
key: ${{ runner.os }}-cython-${{ env.rmg_env }}
restore-keys: ${{ runner.os }}-cython-

- name: Install RMS
run: |
conda activate rmg_env
python -c "import julia; julia.install(); import diffeqpy; diffeqpy.install()"
julia -e 'using Pkg; Pkg.add(PackageSpec(name="ReactionMechanismSimulator",rev="main"));using ReactionMechanismSimulator'
ln -sfn $(which python-jl) $(which python)
cd ..
- name: Install ARC
run: |
Expand Down

0 comments on commit 5496bf5

Please sign in to comment.