Skip to content

Commit

Permalink
Julia 1.10 (#13)
Browse files Browse the repository at this point in the history
* more CI

* CI update

* get ready for julia 1.10

* finetune CI

* Fix CI

---------

Co-authored-by: thorek1 <[email protected]>
  • Loading branch information
jagot and thorek1 authored Dec 27, 2023
1 parent 2c96928 commit 863fd18
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,33 @@ on:
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.4' # Replace this with the minimum Julia version that your package supports. E.g. if your package requires Julia 1.5 or higher, change this to '1.5'.
- '1' # Leave this line unchanged. '1' will automatically expand to the latest stable 1.x release of Julia.
- 'nightly'
- '1.4'
- '1'
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x64
include:
- version: 'nightly'
os: ubuntu-latest
arch: x64
allow_failure: true
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
- uses: actions/cache@v3
env:
cache-name: cache-artifacts
with:
Expand All @@ -40,9 +45,9 @@ jobs:
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-processcoverage@latest
- uses: codecov/codecov-action@v3
with:
file: lcov.info
4 changes: 2 additions & 2 deletions src/ThreadedSparseArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ export ThreadedSparseMatrixCSC
using LinearAlgebra
import LinearAlgebra: mul!
using SparseArrays
import SparseArrays: getcolptr, AbstractSparseMatrixCSC
import SparseArrays: getcolptr, AbstractSparseMatrixCSC, DenseMatrixUnion
const AdjOrTransDenseMatrix = if VERSION < v"1.6.0-rc2"
SparseArrays.AdjOrTransStridedOrTriangularMatrix
else
SparseArrays.AdjOrTransDenseMatrix
Union{DenseMatrixUnion,Adjoint{<:Any,<:DenseMatrixUnion},Transpose{<:Any,<:DenseMatrixUnion}}
end

# * Threading utilities
Expand Down

0 comments on commit 863fd18

Please sign in to comment.