1
0
mirror of https://github.com/kspalaiologos/bzip3.git synced 2026-10-23 14:48:53 +03:00

41 Commits

Author SHA1 Message Date
Kamila Szewczyk
2f82d62cc2 install pkg-config in ci 2026-10-22 19:50:56 +02:00
dependabot[bot]
7c89332048 Bump softprops/action-gh-release from 1 to 3 (#185)
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 3.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v3)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-09 20:51:28 +02:00
dependabot[bot]
0f0ce7ec68 Bump actions/upload-artifact from 4 to 7 (#183)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-09 20:47:15 +02:00
dependabot[bot]
d9ab787ee2 Bump actions/download-artifact from 4 to 8 (#186)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-09 20:46:41 +02:00
dependabot[bot]
6c80e6826f Bump actions/checkout from 3 to 7 (#184)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-09 20:46:29 +02:00
Sebastian Pipping
505a3703de build.yml: Run once per week to detect CI breakage early (fixes #179) (#181)
* build.yml: Re-shape "on:" section for the upcoming extension

* build.yml: Run once per week to detect CI breakage early
2026-09-09 06:47:07 +02:00
Sebastian Pipping
60609256c8 Make GitHub Dependabot keep GitHub Actions up to date (#182) 2026-09-09 06:46:41 +02:00
Sebastian Pipping
dd3e932de2 build.yml: Fix CI for Clang on armv6 (#178)
The symptom was that `./configure` would error out saying...

> configure: error: cannot run C compiled programs.

...because the binaries produced by Clang 14.0.6 with default target
"arm-unknown-linux-gnueabihf" would crash saying...

> qemu: uncaught target signal 4 (Illegal instruction) - core dumped
> Illegal instruction (core dumped)
2026-09-08 07:40:34 +02:00
Kamila Szewczyk
940d466535 bump run-on-arch 2026-02-07 22:03:45 +01:00
Kamila Szewczyk
beb5a32fc5 remove the libtool kludge. 2025-08-05 21:12:04 +02:00
Kamila Szewczyk
9bc0f45801 update test file URLs 2025-08-05 21:10:59 +02:00
Kamila Szewczyk
4688bb8ee8 build.yml: upgrade bullseye -> bookworm. 2025-02-16 16:46:16 +01:00
Kamila Szewczyk
117cde7e0f build.yml: bump up remaining uses of v3 2025-02-14 18:31:02 +01:00
Kamila Szewczyk
e0b289337b release.yml: download-artifact@v4 2025-02-13 15:18:21 +01:00
Kamila Szewczyk
7f7c1aaeee build.yml: download-artifact@v4 2025-02-13 15:18:02 +01:00
Kamila Szewczyk
4996d5d9f4 release.yml: update to upload-artifact@v4 2025-02-13 15:16:19 +01:00
Kamila Szewczyk
1b3b1513fc build.yml: update to upload-artifact@v4 2025-02-13 15:15:58 +01:00
dearblue
6d1ca9b612 Fixed shift direction for crc32sum() (#109)
* Fixed shift direction for crc32sum()

ref. #105
ref. commit 7a8d35b161

* Add a `.bz3` reference file to test

The `examples/shakespeare.txt.bz3` file was created by the following command

```console
% ./bzip3 -e -b 4 < examples/shakespeare.txt > examples/shakespeare.txt.bz3
```

At this time bzip3 is version 1.1.0 and running on FreeBSD 13.2 amd64.
2023-08-06 10:10:34 +02:00
Shun Sakai
5d21594a0d Initial CMake support (#102)
* Add CMake support

* CMake: Enable man pages only on Unix-like

* CMake: Add more options

* CMake: Enable `POSITION_INDEPENDENT_CODE` for shared library
2023-07-02 17:40:16 +02:00
Kamila Szewczyk
e0d78f36c5 Fix CI builds by upgrading to Debian Bullseye (#103)
* fix Debian's repository naming mess.

* Tentatively upgrade Debian to bullseye.
2023-05-18 21:30:33 +02:00
Kamila Szewczyk
a7351434f6 disable -march=native for releases 2023-04-09 12:41:25 +02:00
Kamila Szewczyk
539278bf43 Automatically test bzip3 on riscv64 (#87)
* test riscv64

* move the risc64 test to ubuntu

* fix the distro name and remove risc64 from debian tests
2023-01-16 22:17:19 +01:00
Kamila Szewczyk
6359497402 "fix" #81 (#84)
* libtool patch

* keep the rest of the configure script as is

* missing newline

* update the location of the patch

* fail silently

* make the patching more.. transparent

* try an alternate way of solving this

* address the problems

* Change the mirror

Co-authored-by: Caleb Maclennan <caleb@alerque.com>

Co-authored-by: Caleb Maclennan <caleb@alerque.com>
2023-01-10 15:39:54 +01:00
Kamila Szewczyk
343c7587bb Static linux builds by default 2022-10-28 15:02:44 +02:00
Kamila Szewczyk
3a8f55e510 Don't override autodetected flags 2022-10-05 15:54:03 +02:00
Kamila Szewczyk
3374c90c4b Fix #45 2022-10-04 14:22:00 +02:00
Kamila Szewczyk
4c99a5e3a4 Remove the BSD build from Github Actions ...
... seems to be an issue with the action itself making the compilation fail every time for a hard to pinpoint reason.
2022-10-04 11:50:59 +02:00
Kamila Szewczyk
d7183e77c6 disable machine-specific optimisations in release workflow 2022-09-02 11:54:31 +02:00
Kamila Szewczyk
fe01491850 replace old macos; 10.15 is brownout 2022-08-03 21:26:03 +02:00
Kamila Szewczyk
daffa4bb4d rollback the BSD make change 2022-05-14 16:26:47 +02:00
Kamila Szewczyk
bc19e13282 Github Actions for non-x86 architectures (#24) 2022-05-14 16:12:02 +02:00
Caleb Maclennan
8f671ebdeb Update configure flag type in bulid matrix (#23) 2022-05-14 13:32:06 +02:00
Caleb Maclennan
83c9337ae3 Add release automation stuff (#16)
* Remove generated binaries on make clean

* Derive autoconf version info from Git tag

* Add workflow to publish source packages

* Build and attach binary artifacts

* Post more compressed formats, including dogfooding bz3
2022-05-13 07:05:00 +02:00
Caleb Maclennan
9ccc841d44 Re-tool build using autotools (#12)
* Drop plain makefile build approach, to be replaced

* Add initial autotools based build tooling

* Re-add non-build developer convenience targets

* Update .gitignore with autotools related stuff

* Update CI workflows for autotools build

* Document change to build sequence in README

* Don't trigger Shakespeare roundtrip from autotools, save for hand testing

* Check for and configure pthread, allow disabling

* Prefer clang over gcc if possible on host

* Add vendored copy of ax-pthread macro

This could also be handled by requiring autotools-archive by builders,
but that isn't as ubiquitously installed as the rest of autotools stuff.

* Only install necessary header file

* Retool CI workflows to test source package using matrix

* Test with/without pthread on clang/gcc in CI matrix

* `#ifdef` out the parallel parts from `main.c` on no-pthread builds

* Document how to cross-compile Windows executables

Co-authored-by: Kamila Szewczyk <27734421+kspalaiologos@users.noreply.github.com>

* Bring FreeBSD along for the new CI ride

* Add vendored copy of ax_check_compile_flag macro

* Add configure option (default on) for native optimizations

* Add configure option (default on) for LTO

* Skip cflag setup and detection on input values

* fix cflags detection

Co-authored-by: Kamila Szewczyk <kspalaiologos@gmail.com>
Co-authored-by: Kamila Szewczyk <27734421+kspalaiologos@users.noreply.github.com>
2022-05-12 17:32:26 +02:00
Kamila Szewczyk
434ed998b7 force the use of gmake 2022-05-09 15:02:18 +02:00
Kamila Szewczyk
c9fb3dbf09 Update freebsd.yml 2022-05-09 14:48:46 +02:00
Kamila Szewczyk
4b14fba53b Create freebsd.yml 2022-05-09 14:38:34 +02:00
Kamila Szewczyk
c0f15c4f3a Update MacOS.yml 2022-05-09 14:21:48 +02:00
Kamila Szewczyk
88c6337f8d Attempt at a MacOS build. 2022-05-09 14:21:28 +02:00
Kamila Szewczyk
3a1d80c894 rename the job 2022-05-09 14:20:30 +02:00
Kamila Szewczyk
c88249ffab github action-based CI 2022-05-09 14:14:01 +02:00