diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18a8034c..7dc393fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,15 +26,15 @@ jobs: os: macos-latest arch: arm64 allow_failure: false - - version: 'nightly' + - version: 'pre' os: ubuntu-latest arch: x64 allow_failure: true - - version: 'nightly' + - version: 'pre' os: windows-latest arch: x64 allow_failure: true - - version: 'nightly' + - version: 'pre' os: macos-13 arch: x64 allow_failure: true diff --git a/src/CUTEst.jl b/src/CUTEst.jl index 95610853..ba3a664d 100644 --- a/src/CUTEst.jl +++ b/src/CUTEst.jl @@ -34,7 +34,7 @@ isdir(libsif_path) || mkpath(libsif_path) function __init__() if !Sys.iswindows() # gfortran is installed with an artifact on Windows - if !success(`bash -c "type gfortran"`) + if Sys.which("gfortran") |> isnothing error("gfortran is not installed. Please install it and try again.") else arch_julia = String(Sys.ARCH)