Skip to content

Update scikit learn to v1.4 #118

Update scikit learn to v1.4

Update scikit learn to v1.4 #118

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
- dev
push:
branches:
- master
- dev
tags: '*'
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.6'
- '1'
- 'nightly'
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x64
continue-on-error: ${{ matrix.version == 'nightly' }}
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- name: "Replace julia libstdcxx ubuntu + julia v1.6"
if: ${{ matrix.version == '1.6' && matrix.os == 'ubuntu-latest' }}
# The following is needed for Julia <=1.8.3 on Linux OS
# due to old version of libstcxx used by Julia
# taken from https://github.com/hhaensel/ReplaceLibstdcxx.jl/blob/main/src/ReplaceLibstdcxx.jl
run: |
julia -e '
libs = filter(x -> ! occursin("32", x), getindex.(split.(readlines(pipeline(`ldconfig -p`, `grep libstdc`)), r"\s*=>\s*"), 2))
source_dir = dirname(libs[end])
julia_lib_dir = joinpath(dirname(Sys.BINDIR), "lib", "julia")
julia_lib_file = get(filter(endswith(r"libstdc\+\+.so\.\d+\.\d+\.\d+"), readdir(julia_lib_dir, join = true)), 1, nothing)
julia_lib_version = match(r"so(\.\d+)\.", julia_lib_file).captures[1]
source_lib = get(filter(endswith(r"libstdc\+\+.so\.\d+\.\d+\.\d+"), readdir(source_dir, join = true)), 1, nothing)
julia_lib = joinpath(dirname(Sys.BINDIR), "lib", "julia", "libstdc++.so")
for src in [julia_lib, julia_lib * julia_lib_version]
islink(src) && rm(src, force = true)
symlink(source_lib, src)
@info read(`ls -al $src`, String)
end
'
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v3
with:
file: lcov.info