user/puzzles: update to 0_git20241123 #6613
Workflow file for this run
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
name: Build packages | |
on: | |
pull_request: | |
branches: | |
- master | |
paths: | |
- 'main/**' | |
- 'user/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
PYTHONUNBUFFERED: 1 | |
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1 | |
jobs: | |
build: | |
name: Build packages | |
runs-on: ubuntu-24.04 | |
if: "!contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')" | |
env: | |
update_check: |- | |
${{ | |
( !contains(github.event.pull_request.title, '[update skip]') | |
&& !contains(github.event.pull_request.body, '[update skip]') ) | |
&& '--update-check' | |
|| '' | |
}} | |
steps: | |
- name: Checkout | |
uses: classabbyamp/treeless-checkout-action@v1 | |
- name: Disable apparmor | |
run: | | |
sudo sysctl kernel.apparmor_restrict_unprivileged_unconfined=0 | |
sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0 | |
- name: Install python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
sudo rm -f /var/lib/man-db/auto-update | |
sudo apt-get update | |
sudo apt-get install --no-install-recommends ca-certificates openssl git bubblewrap wget | |
- name: Restore cbuild cache | |
id: cache-cbuild | |
uses: actions/cache/restore@v4 | |
with: | |
path: | | |
./cbuild_cache | |
./sources | |
key: ${{ runner.os }}-cbuild-ci-cache-${{ github.run_id }} | |
# checks prefix of cache stored below and grabs the one from the latest run_id that is | |
# always saved. we do this because things like source fetch / dependencies don't care | |
# about success. | |
restore-keys: | | |
${{ runner.os }}-cbuild-ci-cache | |
- name: Set up cbuild configuration | |
run: sh .ci/setup-cbuild.sh | |
- name: Build and test packages | |
run: python3.12 cbuild -W ${{ env.update_check }} -t bulk-pkg 'git:master..+!\[ci skip\]' | |
- name: Save cbuild cache | |
uses: actions/cache/save@v4 | |
if: ${{ !cancelled() }} | |
with: | |
path: | | |
./cbuild_cache | |
./sources | |
key: ${{ runner.os }}-cbuild-ci-cache-${{ github.run_id }} |