Skip to content

Commit

Permalink
Add reference to julia env in benchmark_pr config
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzovarese committed Jul 18, 2024
1 parent 8686326 commit e978b6c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/benchmark_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
- name: Install and Configure PyCall
run: |
source ~/gt4py-venv/bin/activate
julia --project -e 'using Pkg; Pkg.add("PyCall"); ENV["PYTHON"]="python"; Pkg.build("PyCall");'
julia --project=. -e 'using Pkg; Pkg.add("PyCall"); ENV["PYTHON"]="python"; Pkg.build("PyCall");'
- name: Check PyCall Configuration
run: |
source ~/gt4py-venv/bin/activate
julia -e 'using PyCall; @show PyCall.python'
julia --project=. -e 'using PyCall; @show PyCall.python'
- name: Extract Package Name from Project.toml
id: extract-package-name
run: |
Expand All @@ -48,8 +48,7 @@ jobs:
env:
JULIA_NUM_THREADS: 2
run: |
julia -e 'ENV["JULIA_PKG_PRECOMPILE_AUTO"]=0; import Pkg; Pkg.add(url="https://github.com/MilesCranmer/AirspeedVelocity.jl.git")'
julia -e 'ENV["JULIA_PKG_PRECOMPILE_AUTO"]=0; import Pkg; Pkg.build("AirspeedVelocity")'
julia --project=. -e 'ENV["JULIA_PKG_PRECOMPILE_AUTO"]=0; using Pkg; Pkg.add(url="https://github.com/MilesCranmer/AirspeedVelocity.jl.git"); Pkg.build("AirspeedVelocity")'
- name: Add ~/.julia/bin to PATH
run: |
echo "$HOME/.julia/bin" >> $GITHUB_PATH
Expand Down

0 comments on commit e978b6c

Please sign in to comment.