Skip to content

Commit

Permalink
Add CI tests for macos-14 and macos-15
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Nov 9, 2024
1 parent e0a81ba commit 0653efe
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
20 changes: 19 additions & 1 deletion .github/workflows/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:

env:
CACHE_VERSION: 11
CACHE_VERSION: 12
DEBIAN_FRONTEND: noninteractive
PAWPAW_SKIP_TESTS: 1

Expand All @@ -31,6 +31,24 @@ jobs:
os: macos-13
- target: macos-universal-10.15
os: macos-13
# macos 14
- target: macos
os: macos-14
- target: macos-10.15
os: macos-14
- target: macos-universal
os: macos-14
- target: macos-universal-10.15
os: macos-14
# macos 15
- target: macos
os: macos-15
- target: macos-10.15
os: macos-15
- target: macos-universal
os: macos-15
- target: macos-universal-10.15
os: macos-15
# debian:11
- target: linux-aarch64
container: debian:11
Expand Down
2 changes: 2 additions & 0 deletions bootstrap-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ fi
# ---------------------------------------------------------------------------------------------------------------------
# pkgconfig

export EXTRA_CFLAGS="-Wno-int-conversion"

download pkg-config "${PKG_CONFIG_VERSION}" "${PKG_CONFIG_URL}"
build_host_autoconf pkg-config "${PKG_CONFIG_VERSION}" "--enable-indirect-deps --with-internal-glib --with-pc-path=${TARGET_PKG_CONFIG_PATH}"

Expand Down
11 changes: 8 additions & 3 deletions setup/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -655,10 +655,11 @@ function build_host_autoconf() {
unset CXX
unset LD
unset STRIP
unset CFLAGS
unset CPPFLAGS
unset CXXFLAGS
unset LDFLAGS

export CFLAGS="${EXTRA_CFLAGS}"
export CXXFLAGS="${EXTRA_CXXFLAGS}"
export LDFLAGS="${EXTRA_LDFLAGS}"

if [ -e "${PAWPAW_ROOT}/patches/${pkgname}" ] && [ ! -f "${pkgdir}/.stamp_cleanup" ] && [ ! -f "${pkgdir}/.stamp_configured" ]; then
local patchtargets="${PAWPAW_TARGET}"
Expand Down Expand Up @@ -709,6 +710,10 @@ function build_host_autoconf() {
touch .stamp_installed
popd
fi

unset CFLAGS
unset CXXFLAGS
unset LDFLAGS
}

function build_host_cmake() {
Expand Down

0 comments on commit 0653efe

Please sign in to comment.