ccache => 4.10.2, adjust workflow triggers. (#10926)

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
Satadru Pramanik, DO, MPH, MEng
2024-12-10 14:50:40 -05:00
committed by GitHub
parent 38e21fbcd9
commit 4d1247044c
3 changed files with 13 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
---
name: Build Updates & Generate PR
name: Build
on:
workflow_dispatch:
env:
@@ -168,10 +168,11 @@ jobs:
git pull
git checkout ${{ github.ref_name }} && git rebase master
# git commit -m "Merge master into ${{ github.ref_name }}." || true
- name: Push rebase
- name: Push rebase changes
uses: ad-m/github-push-action@master
with:
branch: ${{ github.ref_name }}
force: true
- name: Create Pull Request
env:
CREW_BRANCH: ${{ github.ref_name }}
@@ -189,10 +190,6 @@ jobs:
export PR_NUMBER=$(gh pr create --title "Automatic PR to build packages for ${{ github.ref_name }} on ${{ needs.setup.outputs.output1 }}" -F /tmp/pr.txt | rev | cut -d"/" -f1 | rev)
echo "PR_NUMBER is ${PR_NUMBER}"
echo "PR_NUMBER=${PR_NUMBER}" >> $GITHUB_ENV
# Close and reopen PR to try to automatically trigger
# unit test workflow.
gh pr close ${PR_NUMBER}
gh pr reopen ${PR_NUMBER}
- name: Trigger Unit Test workflow.
run: |
gh workflow run "Unit-Test.yml" --ref ${{ github.ref_name }}

View File

@@ -4,6 +4,10 @@ on:
pull_request:
merge_group:
workflow_dispatch:
workflow_run:
workflows: [Build]
types:
- completed
jobs:
container_tests:
strategy:

View File

@@ -3,7 +3,7 @@ require 'buildsystems/cmake'
class Ccache < CMake
description 'Compiler cache that speeds up recompilation by caching previous compilations'
homepage 'https://ccache.dev/'
version '4.9.1'
version '4.10.2'
license 'GPL-3 and LGPL-3'
compatibility 'all'
source_url "https://github.com/ccache/ccache/releases/download/v#{version}/ccache-#{version}.tar.xz"
@@ -11,17 +11,17 @@ class Ccache < CMake
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'd54bd2f5b30ca8c3f706ea7a95156a2507ac14b05ca515af25c7632985c3d9a1',
armv7l: 'd54bd2f5b30ca8c3f706ea7a95156a2507ac14b05ca515af25c7632985c3d9a1',
i686: '3af6ca8bb0e136e737554172dceb98709a2548361f734879c084f0939079a527',
x86_64: '4f99d28cd4ec2e6931bd45b98f275c1fb3686f9c09aee7f34aa9ca05d32c1974'
aarch64: '4b3fc2986772cdc20d4216c7b73d777f58dff257685109c16e3d82b1d8ec1e7d',
armv7l: '4b3fc2986772cdc20d4216c7b73d777f58dff257685109c16e3d82b1d8ec1e7d',
i686: '680d3e26b12348908619b5d36a52fe4a4f3300923ce0db10a43289323e5824e8',
x86_64: '4f733a2737d3b454b8cbeef3c4f9a4d6075275b31206e734c768becffa29fa41'
})
depends_on 'gcc_dev' # R
depends_on 'gcc_lib' # R
depends_on 'glibc' # R
depends_on 'ruby_asciidoctor' => :build
depends_on 'xdg_base'
depends_on 'xxhash' # R
depends_on 'zstd' # R
print_source_bashrc