mingw libraries #5140
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/**' | |
- 'contrib/**' | |
- '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: Install python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install --no-install-recommends ca-certificates openssl git bubblewrap wget | |
- name: Cache cbuild data | |
id: cache-cbuild | |
uses: actions/cache@v4 | |
env: | |
cache-name: cbuild-ci-cache | |
with: | |
save-always: true | |
path: | | |
./cbuild_cache | |
./sources | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ github.run_id }} | |
restore-keys: | | |
${{ runner.os }}-${{ env.cache-name }} | |
- 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\]' |