Skip to content

Commit de4c565

Browse files
authored
[CI] Test Krylov.jl on Linux ARM (#953)
1 parent 72ce0af commit de4c565

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ jobs:
1818
arch: [x64]
1919
allow_failure: [false]
2020
include:
21+
- version: '1'
22+
os: ubuntu-24.04-arm
23+
arch: arm64
24+
allow_failure: false
2125
- version: '1'
2226
os: macos-latest
2327
arch: arm64

test/test_cr.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656

5757
# Test with Jacobi (or diagonal) preconditioner
5858
A, b, M = square_preconditioned(FC=FC)
59-
(x, stats) = cr(A, b, M=M, atol=1e-6, rtol=0.0)
59+
(x, stats) = cr(A, b, M=M, atol=1e-5, rtol=0.0)
6060
r = b - A * x
6161
resid = sqrt(real(dot(r, M * r))) / sqrt(real(dot(b, M * b)))
62-
@test(resid cr_tol)
62+
@test(resid 10 * cr_tol)
6363
@test(stats.solved)
6464

6565
# test callback function

0 commit comments

Comments
 (0)