-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eec93b2
commit cbadec9
Showing
6 changed files
with
73 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Build from source. | ||
name: build_macos | ||
on: [push, pull_request] | ||
permissions: read-all | ||
jobs: | ||
build_ubuntu: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
include: | ||
- os: macos-12 | ||
configure_options: '' | ||
- os: macos-13 | ||
configure_options: '' | ||
- os: macos-14 | ||
configure_options: '' | ||
- os: macos-15 | ||
configure_options: '' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install build dependencies | ||
run: | | ||
brew update -q | ||
brew install -q autoconf automake gettext gnu-sed libtool pkg-config || true | ||
brew link --force gettext | ||
ln -s /usr/local/bin/glibtoolize /usr/local/bin/libtoolize | ||
- name: Download test data | ||
run: | | ||
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi | ||
- name: Building from source | ||
env: | ||
CC: ${{ matrix.compiler }} | ||
run: | | ||
tests/build.sh ${{ matrix.configure_options }} | ||
- name: Run tests | ||
run: | | ||
tests/runtests.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
AC_PREREQ([2.71]) | ||
|
||
AC_INIT( | ||
[libbfio], | ||
[20240614], | ||
[[email protected]]) | ||
[libbfio], | ||
[20241014], | ||
[[email protected]]) | ||
|
||
AC_CONFIG_SRCDIR( | ||
[include/libbfio.h.in]) | ||
[include/libbfio.h.in]) | ||
|
||
AM_INIT_AUTOMAKE([gnu 1.6 tar-ustar]) | ||
AM_EXTRA_RECURSIVE_TARGETS([sources splint]) | ||
|
@@ -104,21 +104,21 @@ CFLAGS="$CFLAGS -Wall"; | |
|
||
dnl Check if requires and build requires should be set in spec file | ||
AS_IF( | ||
[test "x$ac_cv_libcerror" = xyes || test "x$ac_cv_libcthreads" = xyes || test "x$ac_cv_libcdata" = xyes || test "x$ac_cv_libclocale" = xyes || test "x$ac_cv_libcnotify" = xyes || test "x$ac_cv_libcsplit" = xyes || test "x$ac_cv_libuna" = xyes || test "x$ac_cv_libcfile" = xyes || test "x$ac_cv_libcpath" = xyes], | ||
[AC_SUBST( | ||
[libbfio_spec_requires], | ||
[Requires:]) | ||
]) | ||
[test "x$ac_cv_libcerror" = xyes || test "x$ac_cv_libcthreads" = xyes || test "x$ac_cv_libcdata" = xyes || test "x$ac_cv_libclocale" = xyes || test "x$ac_cv_libcnotify" = xyes || test "x$ac_cv_libcsplit" = xyes || test "x$ac_cv_libuna" = xyes || test "x$ac_cv_libcfile" = xyes || test "x$ac_cv_libcpath" = xyes], | ||
[AC_SUBST( | ||
[libbfio_spec_requires], | ||
[Requires:]) | ||
]) | ||
|
||
dnl Set the date for the dpkg files | ||
AC_SUBST( | ||
[DPKG_DATE], | ||
[`date -R 2> /dev/null`]) | ||
[DPKG_DATE], | ||
[`date -R 2> /dev/null`]) | ||
|
||
dnl Set the date for the spec file | ||
AC_SUBST( | ||
[SPEC_DATE], | ||
[`date +"%a %b %e %Y" 2> /dev/null`]) | ||
[SPEC_DATE], | ||
[`date +"%a %b %e %Y" 2> /dev/null`]) | ||
|
||
dnl Generate Makefiles | ||
AC_CONFIG_FILES([Makefile]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters