From b9e7b59bc0c92d198cc70a716c1591a4a3a65773 Mon Sep 17 00:00:00 2001 From: Greg Schivley Date: Tue, 21 May 2024 14:47:20 -0400 Subject: [PATCH] Precompile genx and cache --- .github/workflows/test_example_system.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test_example_system.yml b/.github/workflows/test_example_system.yml index a6e96f9..c475912 100644 --- a/.github/workflows/test_example_system.yml +++ b/.github/workflows/test_example_system.yml @@ -12,31 +12,25 @@ jobs: max-parallel: 5 matrix: branch: [master, develop] + permissions: + actions: write + contents: read steps: - # Step 1: Checkout GenX.jl from the specified repository and branch + - uses: julia-actions/setup-julia@v2 + - uses: julia-actions/cache@v2 - name: Checkout GenX.jl repository uses: actions/checkout@v4 with: repository: GenXProject/GenX.jl ref: support/0.3.x path: GenX - - # Step 2: Install Julia - - name: Set up Julia - # run: | - # curl -fsSL https://install.julialang.org | sh -s -- --yes - uses: julia-actions/setup-julia@v2 - # with: - # version: '1.6' - # arch: aarch64 - - # Step 3: Install GenX.jl package using the checked out directory - name: Install GenX.jl uses: julia-actions/julia-buildpkg@v1 with: project: GenX + precompile: yes # run: | # cd GenX # julia --project=. -e 'using Pkg; Pkg.instantiate(); Pkg.precompile()'