Skip to content

Commit 838d2bc

Browse files
amontoisonjfowkes
authored andcommitted
Update release.yml
1 parent 187cc21 commit 838d2bc

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,36 @@ jobs:
1212
- name: Checkout SPRAL
1313
uses: actions/checkout@v4
1414
- name: Install Julia
15-
uses: julia-actions/setup-julia@v1
15+
uses: julia-actions/setup-julia@v2
1616
with:
1717
version: 1
1818
arch: x64
19-
- name: Install BinaryBuilder.jl
20-
run: julia --color=yes -e 'using Pkg; Pkg.add("BinaryBuilder")'
2119
- name: Set the environment variables BINARYBUILDER_AUTOMATIC_APPLE, SPRAL_RELEASE, SPRAL_COMMIT
2220
shell: bash
2321
run: |
2422
echo "BINARYBUILDER_AUTOMATIC_APPLE=true" >> $GITHUB_ENV
2523
echo "SPRAL_RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV
2624
echo "SPRAL_COMMIT=${{ github.sha }}" >> $GITHUB_ENV
2725
- name: Cross-compilation of SPRAL -- x86_64-linux-gnu-libgfortran5
28-
run: julia --color=yes .github/julia/build_tarballs.jl x86_64-linux-gnu-libgfortran5 --verbose
26+
run: |
27+
julia --color=yes -e 'using Pkg; Pkg.add("BinaryBuilder")'
28+
julia --color=yes .github/julia/build_tarballs.jl x86_64-linux-gnu-libgfortran5 --verbose
29+
rm -r ~/.julia
2930
- name: Cross-compilation of SPRAL -- x86_64-w64-mingw32-libgfortran5
30-
run: julia --color=yes .github/julia/build_tarballs.jl x86_64-w64-mingw32-libgfortran5 --verbose
31+
run: |
32+
julia --color=yes -e 'using Pkg; Pkg.add("BinaryBuilder")'
33+
julia --color=yes .github/julia/build_tarballs.jl x86_64-w64-mingw32-libgfortran5 --verbose
34+
rm -r ~/.julia
3135
- name: Cross-compilation of SPRAL -- x86_64-apple-darwin-libgfortran5
32-
run: julia --color=yes .github/julia/build_tarballs.jl x86_64-apple-darwin-libgfortran5 --verbose
36+
run: |
37+
julia --color=yes -e 'using Pkg; Pkg.add("BinaryBuilder")'
38+
julia --color=yes .github/julia/build_tarballs.jl x86_64-apple-darwin-libgfortran5 --verbose
39+
rm -r ~/.julia
3340
- name: Cross-compilation of SPRAL -- aarch64-apple-darwin-libgfortran5
34-
run: julia --color=yes .github/julia/build_tarballs.jl aarch64-apple-darwin-libgfortran5 --verbose
41+
run: |
42+
julia --color=yes -e 'using Pkg; Pkg.add("BinaryBuilder")'
43+
julia --color=yes .github/julia/build_tarballs.jl aarch64-apple-darwin-libgfortran5 --verbose
44+
rm -r ~/.julia
3545
- name: Generate the binaries
3646
run: julia --color=yes .github/julia/generate_binaries.jl
3747
- name: Create a new release

0 commit comments

Comments
 (0)