File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ ghr_jll = "07c12ed4-43bc-5495-8a2a-d5838ef8d533"
3636[compat ]
3737ArgParse = " 1.1"
3838Binutils_jll = " 2"
39- BinaryBuilderBase = " 1.39"
39+ BinaryBuilderBase = " 1.39.1 "
4040Downloads = " 1"
4141GitHub = " 5.1"
4242HTTP = " 0.8, 0.9, 1"
Original file line number Diff line number Diff line change 1+ using BinaryBuilderBase: detect_compressor
2+
13@testset " Building libfoo" begin
24 # Test building with both `make` and `cmake`, using directory and git repository
35 for script in (libfoo_make_script, libfoo_cmake_script, libfoo_meson_script)
@@ -211,6 +213,12 @@ shards_to_test = expand_cxxstring_abis(expand_gfortran_versions(shards_to_test))
211213 # Ensure the build products were created
212214 @test isfile (tarball_path)
213215
216+ compressor = open (tarball_path) do io
217+ detect_compressor (read (io, 6 ))
218+ end
219+ # Make sure the compression format is what we expect
220+ @test compressor == " xz"
221+
214222 # Unpack it somewhere else
215223 @test verify (tarball_path, tarball_hash)
216224 testdir = joinpath (build_path, " testdir" )
You can’t perform that action at this time.
0 commit comments