Skip to content

Commit 5c8024e

Browse files
authored
[CI] Use pre-release instead of nightly (#474)
1 parent 4ed42f7 commit 5c8024e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ jobs:
2626
os: macos-latest
2727
arch: arm64
2828
allow_failure: false
29-
- version: 'nightly'
29+
- version: 'pre'
3030
os: ubuntu-latest
3131
arch: x64
3232
allow_failure: true
33-
- version: 'nightly'
33+
- version: 'pre'
3434
os: windows-latest
3535
arch: x64
3636
allow_failure: true
37-
- version: 'nightly'
37+
- version: 'pre'
3838
os: macos-13
3939
arch: x64
4040
allow_failure: true

src/CUTEst.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ isdir(libsif_path) || mkpath(libsif_path)
3434
function __init__()
3535
if !Sys.iswindows()
3636
# gfortran is installed with an artifact on Windows
37-
if !success(`bash -c "type gfortran"`)
37+
if Sys.which("gfortran") |> isnothing
3838
error("gfortran is not installed. Please install it and try again.")
3939
else
4040
arch_julia = String(Sys.ARCH)

0 commit comments

Comments
 (0)