Skip to content

Commit

Permalink
Merge pull request #15 from PumasAI/mh/juliaup
Browse files Browse the repository at this point in the history
Use `juliaup` in CI via `install-juliaup`
  • Loading branch information
MichaelHatherly authored Apr 16, 2024
2 parents d6227c4 + a805f57 commit 3ee45b1
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,21 @@ jobs:
with:
persist-credentials: false

- uses: asdf-vm/actions/setup@05e0d2ed97b598bfce82fd30daf324ae0c4570e6
- uses: julia-actions/install-juliaup@5e96cfab3bb0500aa42f2843f46c24b91cfcc3cd
with:
julia-version: "1.10.2"
- run: |
asdf plugin-add julia
asdf install julia 1.10.1
asdf install julia 1.10.2
juliaup default 1.10.2
juliaup add 1.10.1
- run: julia --project=test/multiversion/envs/CommonMark_1.10.1 -e 'import Pkg; Pkg.instantiate()'
- run: julia +1.10.1 --project=test/multiversion/envs/CommonMark_1.10.1 -e 'import Pkg; Pkg.instantiate()'
env:
ASDF_JULIA_VERSION: "1.10.1"
JULIA_PKG_PRECOMPILE_AUTO: "0"

- run: julia --project=test/multiversion/envs/CommonMark_1.10.2 -e 'import Pkg; Pkg.instantiate()'
- run: julia +1.10.2 --project=test/multiversion/envs/CommonMark_1.10.2 -e 'import Pkg; Pkg.instantiate()'
env:
ASDF_JULIA_VERSION: "1.10.2"
JULIA_PKG_PRECOMPILE_AUTO: "0"

- run: asdf global julia 1.10.2

- run: julia --project -e 'import Pkg; Pkg.instantiate()'
- run: julia --project test/multiversion/bundle.jl

Expand Down

0 comments on commit 3ee45b1

Please sign in to comment.