Martin Matuska
ff3a0c37aa
CI: add workaround for cmake installed from local/pinned tab on GH/MacOS
2025-09-10 10:50:46 +02:00
Mostyn Bramley-Moore
d80d734190
Add some more error checking to shell scripts ( #2617 )
...
Exit immediately if a command exits with a non-zero status, and treat
unset variables as an error when substituting.
2025-05-20 10:14:17 +02:00
Mostyn Bramley-Moore
ba76798136
ci: speed up windows/mingw build by using multiple make jobs ( #2428 )
...
This decreases the "Install library dependencies" step duration from
~4min to ~2min, and the "Build" step duration from ~10min to ~4min.
2024-12-07 16:39:46 -08:00
Mostyn Bramley-Moore
0bbbe2883e
ci: log bsdtar's version text, so we can see which support libraries were used ( #2426 )
...
A few of libarchive's CI jobs don't find all the local support libraries
that they could be using. This change makes it easier to see which of
them are used.
2024-12-07 15:10:42 -08:00
Mostyn Bramley-Moore
9b7540aaf1
ci: find liblzma >= 5.6.3 on windows msvc tests ( #2421 )
...
We currently use XZ Utils 5.6.3 on windows CI jobs, but the Windows
(msvc)
job which uses cmake seems to only be looking for the old library name,
liblzma.lib:
```
-- Looking for lzma_auto_decoder in C:/Program Files (x86)/xz/lib/liblzma.lib
-- Looking for lzma_auto_decoder in C:/Program Files (x86)/xz/lib/liblzma.lib - not found
-- Looking for lzma_easy_encoder in C:/Program Files (x86)/xz/lib/liblzma.lib
-- Looking for lzma_easy_encoder in C:/Program Files (x86)/xz/lib/liblzma.lib - not found
-- Looking for lzma_lzma_preset in C:/Program Files (x86)/xz/lib/liblzma.lib
-- Looking for lzma_lzma_preset in C:/Program Files (x86)/xz/lib/liblzma.lib - not found
-- Could NOT find LibLZMA (missing: LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET) (found version "5.6.3")
```
We need to update build/ci/github_actions/ci.cmd to look for lzma.lib
instead.
2024-12-06 19:56:06 -08:00
Mostyn Bramley-Moore
84ad874530
Test with XZ Utils 5.6.3 on windows CI jobs ( #2417 )
...
This change fixes the autotools build to work with xz-utils 5.6.3, which
changed library names on windows, and fixes a couple of tests that I
noticed had dependencies on liblzma.
2024-12-02 00:29:46 +01:00
Mostyn Bramley-Moore
6567375f27
Reenable CI tests for MSVC ( #2356 )
...
These were disabled when migrating from Cirrus CI. Let's enable them for
github workflows, disable any failing tests on this configuration and
leave TODO notes to fix them.
This was the only failure that I found:
```
684/764 Test #684 : bsdtar_test_option_ignore_zeros_mode_c ...................................***Failed 0.10 sec
If tests fail or crash, details will be in:
C:\Users\RUNNER~1\AppData\Local\Temp/bsdtar_test.exe.2024-09-29T11.42.13-000
Reference files will be read from: D:/a/libarchive/libarchive/tar/test
Running tests on: "D:\a\libarchive\libarchive\build_ci\cmake\bin\Release\bsdtar.exe"
Exercising: bsdtar 3.8.0 - libarchive 3.8.0dev zlib/1.3 liblzma/5.4.4 bz2lib/1.1.0 libzstd/1.5.5
39: test_option_ignore_zeros_mode_c
D:\a\libarchive\libarchive\tar\test\test_option_ignore_zeros.c(99): File should be empty: test-c.err
File size: 112
Contents:
0000 62 73 64 74 61 72 2e 65 78 65 3a 20 61 3a 20 43 bsdtar.exe: a: C
0010 61 6e 27 74 20 74 72 61 6e 73 6c 61 74 65 20 75 an't translate u
0020 6e 61 6d 65 20 27 28 6e 75 6c 6c 29 27 20 74 6f name '(null)' to
0030 20 55 54 46 2d 38 0d 0a 62 73 64 74 61 72 2e 65 UTF-8..bsdtar.e
0040 78 65 3a 20 62 3a 20 43 61 6e 27 74 20 74 72 61 xe: b: Can't tra
0050 6e 73 6c 61 74 65 20 75 6e 61 6d 65 20 27 28 6e nslate uname '(n
0060 75 6c 6c 29 27 20 74 6f 20 55 54 46 2d 38 0d 0a ull)' to UTF-8..
Totals:
Tests run: 1
Tests failed: 1
Assertions checked: 21
Assertions failed: 1
Skips reported: 0
```
2024-09-29 21:36:48 -07:00
Tim Kientzle
97c32b89b8
Try to fix some CI config issues on macOS ( #2261 )
...
macOS CI is reporting some warnings about unavailable versions of some
utilities. I'll take a stab at fixing those...
2024-07-06 09:46:21 +02:00
Martin Matuska
a69a4537a6
CI: add libxml2 to MacOS test build
2024-04-23 11:51:53 +02:00
Martin Matuska
04512b5b89
ci: use liblzma 1.5.5 in MSVC build until fix from upstream ( #2105 )
...
Signed-off-by: Duncan Horn
2024-04-01 19:44:24 +02:00
Alexandr Reshetnikov
2fb7b0ce45
bump zstd version: 1.5.5 -> 1.5.6 ( #2099 )
...
https://github.com/facebook/zstd/releases/tag/v1.5.6
https://github.com/facebook/zstd/issues/3999
2024-03-29 10:38:39 -07:00
Martin Matuska
2f4f9a7e4f
CI: install mingw and set correct path
2023-12-10 01:01:28 +01:00
Martin Matuska
98f9063f22
CI: update Windows zlib build dependency to 1.3
2023-09-11 22:06:36 +02:00
Martin Matuska
05c86f9c75
CI: update Windows build dependencies
...
Update zlib to 1.2.13, xz to 1.4.4 and zstd to 1.5.5
2023-08-15 09:56:09 +02:00
Reshetnikov Alexandr
966d164f40
Merge remote-tracking branch 'remotes/origin/master' into zstd_windows
...
# Conflicts:
# build/ci/github_actions/ci.cmd
2022-04-12 13:50:53 +04:00
Martin Matuska
6c3301111c
CI: Update dependencies for Windows build
...
Upgrade zlib to 1.2.12
Upgrade bzip2 to 10fe37f2e
2022-04-08 13:31:34 +02:00
Reshetnikov Alexandr
bbec4636b0
include zstd 1.5.2 on windows builds
2022-03-31 23:56:13 +04:00
Martin Matuska
93f03b0f5d
ci (GitHub Actions): build on Windows 2022 and use Visual Studio 17 2022
2022-02-17 17:10:51 +01:00
Martin Matuska
03a745cb98
CI: use xz 5.2.5 in Windows build
2020-12-26 00:34:05 +01:00
Martin Matuska
9a5488f08c
CI: fix homebrew errors in MacOS build
2020-11-02 13:57:03 +01:00
Martin Matuska
087241290e
CI: build Windows version with xz 5.2.5
2020-03-28 08:29:55 +01:00
Martin Matuska
0fbf4a62fe
CI: GitHub Actions: use C:\windows\system32\tar.exe as tar on Windows
2020-02-28 11:38:42 +01:00
Martin Matuska
235c0920ef
CI: use static CMake build of liblzma
2020-02-26 00:56:13 +01:00
Martin Matuska
1e522fc3f6
CI: add external binary static xz to Windows build
2020-02-12 16:41:50 +01:00
Martin Matuska
987caefe91
CI Windows: download zlib and bzip2 from cloned repositories
2020-02-09 08:15:58 +01:00
Martin Matuska
0a09733d06
CI: generate and publish build artifacts on GitHub actions
...
Fixes #1313
2020-02-09 00:24:39 +01:00
Martin Matuska
f0b8157f96
CI: build and use bzip2 on Windows from GiLab repository
...
Use static versions of zlib and bzip2 on Windows.
Simplify ci.cmd for GitHub Actions.
2020-02-08 17:56:07 +01:00
Martin Matuska
60da2b879a
CI: exit with error on failure in Visual Studio stages
2020-02-07 11:40:32 +01:00
Martin Matuska
05a34e47b3
CI: make mingw32-make verbose
2020-01-23 00:21:35 +01:00
Martin Matuska
5ceffdbfd1
CI: raise error if MinGW tests fail
2020-01-22 17:54:41 +01:00
Martin Matuska
03248984ad
CI: add distcheck and MacOS build to github actions
2019-11-18 08:18:17 +01:00
Martin Matuska
8d7f119dd9
CI: move Windows MinGW and MSVC builds to GitHub Actions
2019-11-18 02:11:03 +01:00