Automated Package Build: autoconf_archive branch started at 2024-12-13-18Z (#10956)

* autoconf_archive => 2024.10.16

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust build workflow further.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add built packages for linux/386 to autoconf_archive

* Add built packages for linux/amd64 to autoconf_archive

* Add built packages for linux/arm/v7 to autoconf_archive

* Add cron job to automatically close/reopen automated PRs that require checks to be run.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* suggested changes

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust variables for multiple possible workflow triggers.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-12-13 14:13:32 -06:00
committed by GitHub
parent e76e09a4ff
commit 565951118e
6 changed files with 43 additions and 13 deletions

View File

@@ -1,8 +1,12 @@
---
name: Run Unit Tests on PR
name: Unit Tests
on:
pull_request:
check_run:
types:
- created
merge_group:
pull_request:
push:
workflow_dispatch:
workflow_run:
workflows: [Build]
@@ -10,7 +14,7 @@ on:
- completed
jobs:
container_tests:
if: ${{ ( github.repository_owner == 'chromebrew' ) && ( github.ref_name != 'master' ) }}
if: ${{ github.repository_owner == 'chromebrew' }}
strategy:
matrix:
arch: [x86_64, armv7l, i686]
@@ -160,7 +164,7 @@ jobs:
GITHUB_EVENT: ${{ github.event_name }}
run: |
case $GITHUB_EVENT in
merge_group)
check_run | merge_group | push | workflow_run | workflow_dispatch)
export CREW_REPO="${{ github.event.repository.clone_url }}"
export CREW_BRANCH="${{ github.ref_name }}"
;;
@@ -168,10 +172,6 @@ jobs:
export CREW_REPO="${{ github.event.pull_request.head.repo.clone_url }}"
export CREW_BRANCH="${{ github.head_ref }}"
;;
workflow_dispatch)
export CREW_REPO="${{ github.event.repository.clone_url }}"
export CREW_BRANCH="${{ github.ref_name }}"
;;
esac
if [ -z "${NON_PKG_CHANGED_FILES}" ] && ([ "$PLATFORM" == 'linux/arm/v7' ] && [ -z "${ARMV7L_PACKAGES}" ]); then
# Exit the arm container if there are neither non-package changed files nor armv7l compatible packages.

18
.github/workflows/autocheck.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
---
name: autocheck
on:
schedule:
- cron: '*/5 * * * *'
jobs:
autocheck:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
persist-credentials: true
- name: Run required checks if necessary
run: |
for pr in $(gh pr list -s open --author app/github-actions --json number | jq '.[].number')
do
gh pr checks --required $pr || (echo "Flipping pr ${pr} state." ; gh pr close $pr && gh pr reopen $pr)
done

View File

@@ -64,8 +64,10 @@
/usr/local/share/aclocal/ax_cache_size.m4
/usr/local/share/aclocal/ax_caolan_check_package.m4
/usr/local/share/aclocal/ax_caolan_search_package.m4
/usr/local/share/aclocal/ax_cc_attrcommon.m4
/usr/local/share/aclocal/ax_cc_for_build.m4
/usr/local/share/aclocal/ax_cc_maxopt.m4
/usr/local/share/aclocal/ax_cc_tentdef.m4
/usr/local/share/aclocal/ax_cf_ebcdic.m4
/usr/local/share/aclocal/ax_cflags_aix_option.m4
/usr/local/share/aclocal/ax_cflags_force_c89.m4
@@ -335,7 +337,9 @@
/usr/local/share/aclocal/ax_func_mkdir.m4
/usr/local/share/aclocal/ax_func_posix_memalign.m4
/usr/local/share/aclocal/ax_func_snprintf.m4
/usr/local/share/aclocal/ax_func_which_gethostbyaddr_r.m4
/usr/local/share/aclocal/ax_func_which_gethostbyname_r.m4
/usr/local/share/aclocal/ax_func_which_gethostent_r.m4
/usr/local/share/aclocal/ax_func_which_getservbyname_r.m4
/usr/local/share/aclocal/ax_gcc_archflag.m4
/usr/local/share/aclocal/ax_gcc_builtin.m4

View File

@@ -64,8 +64,10 @@
/usr/local/share/aclocal/ax_cache_size.m4
/usr/local/share/aclocal/ax_caolan_check_package.m4
/usr/local/share/aclocal/ax_caolan_search_package.m4
/usr/local/share/aclocal/ax_cc_attrcommon.m4
/usr/local/share/aclocal/ax_cc_for_build.m4
/usr/local/share/aclocal/ax_cc_maxopt.m4
/usr/local/share/aclocal/ax_cc_tentdef.m4
/usr/local/share/aclocal/ax_cf_ebcdic.m4
/usr/local/share/aclocal/ax_cflags_aix_option.m4
/usr/local/share/aclocal/ax_cflags_force_c89.m4
@@ -335,7 +337,9 @@
/usr/local/share/aclocal/ax_func_mkdir.m4
/usr/local/share/aclocal/ax_func_posix_memalign.m4
/usr/local/share/aclocal/ax_func_snprintf.m4
/usr/local/share/aclocal/ax_func_which_gethostbyaddr_r.m4
/usr/local/share/aclocal/ax_func_which_gethostbyname_r.m4
/usr/local/share/aclocal/ax_func_which_gethostent_r.m4
/usr/local/share/aclocal/ax_func_which_getservbyname_r.m4
/usr/local/share/aclocal/ax_gcc_archflag.m4
/usr/local/share/aclocal/ax_gcc_builtin.m4

View File

@@ -64,8 +64,10 @@
/usr/local/share/aclocal/ax_cache_size.m4
/usr/local/share/aclocal/ax_caolan_check_package.m4
/usr/local/share/aclocal/ax_caolan_search_package.m4
/usr/local/share/aclocal/ax_cc_attrcommon.m4
/usr/local/share/aclocal/ax_cc_for_build.m4
/usr/local/share/aclocal/ax_cc_maxopt.m4
/usr/local/share/aclocal/ax_cc_tentdef.m4
/usr/local/share/aclocal/ax_cf_ebcdic.m4
/usr/local/share/aclocal/ax_cflags_aix_option.m4
/usr/local/share/aclocal/ax_cflags_force_c89.m4
@@ -335,7 +337,9 @@
/usr/local/share/aclocal/ax_func_mkdir.m4
/usr/local/share/aclocal/ax_func_posix_memalign.m4
/usr/local/share/aclocal/ax_func_snprintf.m4
/usr/local/share/aclocal/ax_func_which_gethostbyaddr_r.m4
/usr/local/share/aclocal/ax_func_which_gethostbyname_r.m4
/usr/local/share/aclocal/ax_func_which_gethostent_r.m4
/usr/local/share/aclocal/ax_func_which_getservbyname_r.m4
/usr/local/share/aclocal/ax_gcc_archflag.m4
/usr/local/share/aclocal/ax_gcc_builtin.m4

View File

@@ -3,7 +3,7 @@ require 'buildsystems/autotools'
class Autoconf_archive < Autotools
description 'GNU Autoconf Archive is a collection of freely re-usable Autoconf macros.'
homepage 'https://www.gnu.org/software/autoconf-archive/'
version '2023.02.20'
version '2024.10.16'
license 'GPL-3'
compatibility 'all'
source_url "https://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-#{version}.tar.xz"
@@ -11,9 +11,9 @@ class Autoconf_archive < Autotools
binary_compression 'tar.zst'
binary_sha256({
aarch64: '538076c9589edd796a25e62ddce771d92169db79179ed32755dc2eee0717ea3d',
armv7l: '538076c9589edd796a25e62ddce771d92169db79179ed32755dc2eee0717ea3d',
i686: '9c0c8fc457fe4d79ca1e5d12f51122c984ac5c3c2dfa07a8ef06bc0df32623be',
x86_64: '7729228006a55364e4dad960a9ff78e32cd3675cbdbde1960fe6f676b06f5846'
aarch64: '3e08a3bf59c5973ec5fee59d4692fd266d8082c753fca0f8dcc27448da44ba8a',
armv7l: '3e08a3bf59c5973ec5fee59d4692fd266d8082c753fca0f8dcc27448da44ba8a',
i686: '8a69c686eb94611f432847d68b8d8fa3787548d002072266e9807635c878c30b',
x86_64: 'dc9e54c5af6fb9271d4c5599f50f2d98f311f3550ad326b45f48eb7484255a29'
})
end