Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI_M1.yml for using HSL_jll.jl #197

Merged
merged 13 commits into from
Nov 13, 2023
36 changes: 21 additions & 15 deletions .github/workflows/CI_M1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
fail-fast: false
matrix:
version:
- '1.6'
# - '1.6'
- '1'
- 'nightly'
# - 'nightly'
arch:
- x64
- aarch64
exclude:
- version: '1.6'
arch: aarch64
# exclude:
# - version: '1.6'
# arch: aarch64
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
Expand All @@ -34,16 +34,22 @@ jobs:
using InteractiveUtils
versioninfo()
- uses: julia-actions/julia-buildpkg@v1
if: matrix.arch == 'x64'
env:
HSL_FC: "/usr/local/bin/gfortran-7 -arch x86_64"
HSL_CC: "/usr/local/bin/gcc-7 -arch x86_64"
- uses: julia-actions/julia-buildpkg@v1
if: matrix.arch == 'aarch64'
env:
HSL_FC: "/usr/local/bin/gfortran-12"
HSL_CC: "/usr/local/bin/gcc-12"
- uses: julia-actions/julia-runtest@v1
- name: Install HSL_jll.jl
shell: julia --color=yes {0}
run: |
using Pkg
Pkg.activate("~/actions-runner/_work/HSL.jl/HSL.jl")
if VERSION ≥ v"1.9"
Pkg.develop(path=ENV["HSL_JLL_LBT_PATH"])
else
Pkg.develop(path=ENV["HSL_JLL_OPENBLAS_PATH"])
end
- name: Test HSL.jl
shell: julia --color=yes {0}
run: |
using Pkg
Pkg.develop(path=".")
Pkg.test("HSL")
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v3
with:
Expand Down