Skip to content

Commit e1cdec6

Browse files
committed
Disable tests on non-apple
Turn on ubuntu in CI so that we can test non-apple doesn't break
1 parent bb5ddfd commit e1cdec6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- '1'
1717
- 'nightly'
1818
os:
19-
# - ubuntu-latest
19+
- ubuntu-latest
2020
- macOS-12
2121
# - windows-latest
2222
arch:

test/runtests.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
using AppleAccelerate
22
using DSP, Test, Random, LinearAlgebra, Statistics
33

4+
if Sys.isapple()
5+
46
Random.seed!(7)
57
N = 1_000
68

7-
89
for T in (Float32, Float64)
910
@testset "Element-wise Operators::$T" begin
1011
X::Vector{T} = randn(N)
@@ -264,3 +265,5 @@ AppleAccelerate.@replaceBase(sin, atan, /)
264265
@test Base.atan.(X, Y) == AppleAccelerate.atan(X, Y)
265266
@test X ./ Y == AppleAccelerate.div_float(X, Y)
266267
end
268+
269+
end # Sys.isapple()

0 commit comments

Comments
 (0)