Skip to content

Commit 27956dc

Browse files
authored
Update Objectfile to 0.4.0 (#363)
* Update Objectfile to 0.4.0 * Test more Julia versions * Require ObjectFile 0.4
1 parent 8310490 commit 27956dc

File tree

3 files changed

+27
-15
lines changed

3 files changed

+27
-15
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ jobs:
5050
squashfs: true
5151
julia-version: "1.8"
5252

53+
- runner: privileged
54+
squashfs: true
55+
julia-version: "1.9"
56+
57+
- runner: privileged
58+
squashfs: true
59+
julia-version: "1.10"
60+
5361
- runner: privileged
5462
squashfs: true
5563
julia-version: "nightly"

test/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
1313

1414
[compat]
1515
ConstructionBase = "1.5.1"
16-
ObjectFile = "0.3.6"
16+
ObjectFile = "0.4"

test/dependencies.jl

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ end
184184
# Since Julia v1.9 Zlib_jll doesn't have logs directory at all
185185
@static if VERSION < v"1.9-DEV"
186186
zlib_log_files = if os(platform) == "macos"
187-
["Zlib.log.gz", "fix_identity_mismatch_libz.1.2.11.dylib.log.gz", "ldid_libz.1.2.11.dylib.log.gz"]
187+
["Zlib.log.gz", "fix_identity_mismatch_libz.1.2.12.dylib.log.gz", "ldid_libz.1.2.12.dylib.log.gz"]
188188
else
189189
["Zlib.log.gz"]
190190
end
@@ -338,13 +338,15 @@ end
338338
]
339339
platform = Platform("x86_64", "linux")
340340
test_setup_dependencies(prefix, dependencies, platform)
341-
readmeta(joinpath(destdir(dir, platform), "lib", "libz.so")) do oh
342-
symbols = symbol_name.(Symbols(oh))
343-
# The platform didn't specify the sanitizer, the library shouldn't contain
344-
# "asan", "msan", or "tsan" symbols
345-
@test !any(contains("asan_"), symbols)
346-
@test !any(contains("msan_"), symbols)
347-
@test !any(contains("tsan_"), symbols)
341+
readmeta(joinpath(destdir(dir, platform), "lib", "libz.so")) do ohs
342+
foreach(ohs) do oh
343+
symbols = symbol_name.(Symbols(oh))
344+
# The platform didn't specify the sanitizer, the library shouldn't contain
345+
# "asan", "msan", or "tsan" symbols
346+
@test !any(contains("asan_"), symbols)
347+
@test !any(contains("msan_"), symbols)
348+
@test !any(contains("tsan_"), symbols)
349+
end
348350
end
349351
end
350352
with_temp_project() do dir
@@ -354,12 +356,14 @@ end
354356
]
355357
platform = Platform("x86_64", "linux"; sanitize="memory")
356358
test_setup_dependencies(prefix, dependencies, platform)
357-
readmeta(joinpath(destdir(dir, platform), "lib", "libz.so")) do oh
358-
symbols = symbol_name.(Symbols(oh))
359-
# Make sure the library contains only "msan" symbols
360-
@test !any(contains("asan_"), symbols)
361-
@test any(contains("msan_"), symbols)
362-
@test !any(contains("tsan_"), symbols)
359+
readmeta(joinpath(destdir(dir, platform), "lib", "libz.so")) do ohs
360+
foreach(ohs) do oh
361+
symbols = symbol_name.(Symbols(oh))
362+
# Make sure the library contains only "msan" symbols
363+
@test !any(contains("asan_"), symbols)
364+
@test any(contains("msan_"), symbols)
365+
@test !any(contains("tsan_"), symbols)
366+
end
363367
end
364368
end
365369
end

0 commit comments

Comments
 (0)