Skip to content

Commit

Permalink
Revert "julia depot path"
Browse files Browse the repository at this point in the history
This reverts commit 7b6303f.
  • Loading branch information
sosiristseng committed Mar 11, 2024
1 parent 48ac4d6 commit 7f76c96
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ concurrency:
cancel-in-progress: true

env:
NPROC: '3' # Number of Julia processes to run the notebooks
CACHE_NUM: '1'
NPROC: '2' # Number of Julia processes to run the notebooks
CACHE_NUM: '2'
JULIA_CONDAPKG_BACKEND: 'Null'
JULIA_CI: 'true'
JULIA_NUM_THREADS: '2'
JULIA_DEPOT_PATH: '/tmp/juliapkgs'
# JULIA_CPU_TARGET: 'generic;znver3'
JULIA_CPU_TARGET: 'generic;znver3'

jobs:
CI:
Expand Down Expand Up @@ -56,9 +55,9 @@ jobs:
id: cache-julia
with:
path: |
${{ env.JULIA_DEPOT_PATH }}
!${{ env.JULIA_DEPOT_PATH }}/registries
key: ${{ runner.os }}-julia-${{ env.CACHE_NUM }}-${{ hashFiles('src/**', 'Project.toml', 'Manifest.toml')}}
~/.julia
!~/.julia/registries
key: ${{ runner.os }}-julia-${{ env.CACHE_NUM }}-${{ hashFiles('src/**', 'Project.toml', 'Manifest.toml' )}}
restore-keys: |
${{ runner.os }}-julia-${{ env.CACHE_NUM }}-
- name: Install Julia packages
Expand All @@ -71,8 +70,8 @@ jobs:
if: ${{ steps.cache-julia.outputs.cache-hit != 'true' }}
with:
path: |
${{ env.JULIA_DEPOT_PATH }}
!${{ env.JULIA_DEPOT_PATH }}/registries
~/.julia
!~/.julia/registries
key: ${{ steps.cache-julia.outputs.cache-primary-key }}
- name: Cache literate notebooks
uses: actions/cache@v4
Expand Down

0 comments on commit 7f76c96

Please sign in to comment.