Skip to content

Commit 160d9a4

Browse files
authored
Fix CI. (#627)
1 parent cbff0d4 commit 160d9a4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
arch: ${{ matrix.arch }}
7171

7272
# set-up packages
73-
- julia-actions/cache@v2
73+
- uses: julia-actions/cache@v2
7474
- uses: julia-actions/julia-buildpkg@v1
7575

7676
- name: Run tests

test/util_tests.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ end
1212
@testset "mangle" begin
1313
struct XX{T} end
1414
# values checked with c++filt / cu++filt
15-
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{false}}) == "_Z3sin2XXILb0EE" # "sin(XX<false>)"
16-
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{true}}) == "_Z3sin2XXILb1EE" # "sin(XX<true>)"
17-
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{Int64(10)}}) == "_Z3sin2XXILl10EE" # "sin(XX<10l>)"
18-
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{Int64(0)}}) == "_Z3sin2XXILl0EE" # "sin(XX<0l>)"
19-
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{Int64(-10)}}) == "_Z3sin2XXILln10EE" # "sin(XX<-10l>)"
15+
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{false}}) == "_Z3sin2XXILb0EE" # "sin(XX<false>)"
16+
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{true}}) == "_Z3sin2XXILb1EE" # "sin(XX<true>)"
17+
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{Cshort(10)}}) == "_Z3sin2XXILs10EE" # "sin(XX<(short)10>)"
18+
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{Cshort(0)}}) == "_Z3sin2XXILs0EE" # "sin(XX<(short)l>)"
19+
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{Cshort(-10)}}) == "_Z3sin2XXILsn10EE" # "sin(XX<(short)-10>)"
2020
end
2121

2222
@testset "safe loggers" begin

0 commit comments

Comments
 (0)