Skip to content

Commit 948013a

Browse files
committed
Update Julia CI job, and add MultiObjectiveAlgorithms as a test
1 parent f7669e9 commit 948013a

2 files changed

Lines changed: 12 additions & 13 deletions

File tree

‎.github/julia/build_tarballs.jl‎

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ version = VersionNumber(ENV["HIGHS_RELEASE"])
1212
sources = [GitSource(ENV["HIGHS_URL"], ENV["HIGHS_COMMIT"])]
1313

1414
script = raw"""
15-
export BUILD_SHARED="ON"
16-
export BUILD_STATIC="OFF"
17-
1815
cd $WORKSPACE/srcdir/HiGHS
1916
2017
# Remove system CMake to use the jll version
@@ -23,18 +20,13 @@ apk del cmake
2320
rm -rf build
2421
mkdir build
2522
26-
# Do fully static build only on Windows
27-
if [[ "${BUILD_SHARED}" == "OFF" ]] && [[ "${target}" == *-mingw* ]]; then
28-
export CXXFLAGS="-static"
29-
fi
30-
3123
cmake -S . -B build \
3224
-DCMAKE_INSTALL_PREFIX=${prefix} \
3325
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN} \
3426
-DCMAKE_BUILD_TYPE=Release \
35-
-DBUILD_SHARED_LIBS=${BUILD_SHARED} \
36-
-DZLIB_USE_STATIC_LIBS=${BUILD_STATIC} \
37-
-DHIPO=ON -DBUILD_SHARED_EXTRAS_LIB=OFF \
27+
-DBUILD_SHARED_LIBS=ON \
28+
-DHIPO=ON \
29+
-DBUILD_SHARED_EXTRAS_LIB=OFF \
3830
-DBLAS_LIBRARIES="${libdir}/libopenblas.${dlext}"
3931
4032
if [[ "${target}" == *-linux-* ]]; then
@@ -75,6 +67,6 @@ build_tarballs(
7567
platforms,
7668
products,
7769
dependencies;
78-
preferred_gcc_version = v"11",
79-
julia_compat = "1.6",
70+
preferred_gcc_version = v"6",
71+
julia_compat = "1.10",
8072
)

‎.github/workflows/julia-tests.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,10 @@ jobs:
121121
# exceptions on macOS and a SIGTERM on linux. To avoid these errors,
122122
# opt out of running the tests in parallel.
123123
Pkg.test("HiGHS"; test_args=["--parallel=false"])
124+
# An attempt to reproduce
125+
# https://github.com/jump-dev/MultiObjectiveAlgorithms.jl/pull/211
126+
- shell: julia --color=yes {0}
127+
run: |
128+
using Pkg
129+
Pkg.add("MultiObjectiveAlgorithms")
130+
Pkg.test("MultiObjectiveAlgorithms")

0 commit comments

Comments
 (0)