From b21bec59a8cf49e5bc85490728c7daa0bdda728b Mon Sep 17 00:00:00 2001 From: v1gnesh Date: Wed, 1 Nov 2023 09:05:51 +0530 Subject: [PATCH 1/3] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c6755a0..f46ed22 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Automatic version updates](https://github.com/ZOSOpenTools/m4port/actions/workflows/bump.yml/badge.svg)](https://github.com/ZOSOpenTools/m4port/actions/workflows/bump.yml) + # m4port [GNU M4](https://www.gnu.org/software/m4/m4.html) is an implementation of the traditional Unix macro processor. It is mostly SVR4 compatible although it has some extensions (for example, handling more than 9 positional parameters to macros). From 08a70b17388ba34179228fb551e2c3ea8a3d690a Mon Sep 17 00:00:00 2001 From: v1gnesh Date: Wed, 1 Nov 2023 09:06:23 +0530 Subject: [PATCH 2/3] Create bump.yml --- .github/workflows/bump.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/bump.yml diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml new file mode 100644 index 0000000..907a360 --- /dev/null +++ b/.github/workflows/bump.yml @@ -0,0 +1,16 @@ +name: 'Automatic version updates' + +on: + schedule: + # minute hour dom month dow (UTC) + - cron: '00 15 * * *' + # enable manual trigger of version updates + workflow_dispatch: +jobs: + bump: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: ZOSOpenTools/meta/actions@main + env: + GITHUB_TOKEN: ${{ secrets.BUMP_TOKEN }} From 1608fb117cdb32400eb8fb1493cdf28040819459 Mon Sep 17 00:00:00 2001 From: v1gnesh Date: Wed, 1 Nov 2023 09:11:47 +0530 Subject: [PATCH 3/3] Update buildenv --- buildenv | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/buildenv b/buildenv index b939b3f..3a14bb4 100644 --- a/buildenv +++ b/buildenv @@ -1,13 +1,11 @@ -# -# Set up environment variables for general build tool to operate -# +# bump: m4-version /M4_VERSION="(.*)"/ https://ftp.gnu.org/gnu/m4/|re:/m4-([\d.]+).tar.gz/$1/|semver:* +M4_VERSION="1.4.19" + export ZOPEN_BUILD_LINE="STABLE" -ZOPEN_TARBALL_DIR=m4-1.4.19 -export ZOPEN_STABLE_URL="https://ftp.gnu.org/gnu/m4/${ZOPEN_TARBALL_DIR}.tar.gz" +export ZOPEN_STABLE_URL="https://ftp.gnu.org/gnu/m4/m4-${M4_VERSION}.tar.gz" export ZOPEN_STABLE_DEPS="curl gzip make m4" -ZOPEN_GIT_DIR=m4 -export ZOPEN_DEV_URL="git://git.savannah.gnu.org/${ZOPEN_GIT_DIR}.git" +export ZOPEN_DEV_URL="git://git.savannah.gnu.org/m4.git" export ZOPEN_DEV_DEPS="comp_clang git make m4 help2man perl texinfo xz autoconf automake gettext rsync patch gzip tar gperf sed grep libtool autoconf zoslib" export ZOPEN_DEV_BRANCH="branch-1.4" @@ -18,7 +16,7 @@ zopen_post_buildenv() if [ "${ZOPEN_BUILD_LINE}x" = "STABLEx" ]; then export ZOPEN_BOOTSTRAP=skip # -std=c11 required for max_align_t typedef in stddef.h - export ZOPEN_EXTRA_CFLAGS="-std=c11 -fgnu89-inline -I\${ZOPEN_ROOT}/${ZOPEN_GIT_DIR}/lib -I\${ZOPEN_ROOT}/patches/PR1/include" + export ZOPEN_EXTRA_CFLAGS="-std=c11 -fgnu89-inline -I\${ZOPEN_ROOT}/m4/lib -I\${ZOPEN_ROOT}/patches/PR1/include" else export ZOPEN_COMP=CLANG fi @@ -56,4 +54,3 @@ totalTests:$totalTests expectedFailures:4 ZZ } -