diff options
author | 3gg <3gg@shellblade.net> | 2025-08-30 16:53:58 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2025-08-30 16:53:58 -0700 |
commit | 6aaedb813fa11ba0679c3051bc2eb28646b9506c (patch) | |
tree | 34acbfc9840e02cb4753e6306ea7ce978bf8b58e /src/contrib/SDL-3.2.20/.github/workflows/build.yml | |
parent | 8f228ade99dd3d4c8da9b78ade1815c9adf85c8f (diff) |
Update to SDL3
Diffstat (limited to 'src/contrib/SDL-3.2.20/.github/workflows/build.yml')
-rw-r--r-- | src/contrib/SDL-3.2.20/.github/workflows/build.yml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/contrib/SDL-3.2.20/.github/workflows/build.yml b/src/contrib/SDL-3.2.20/.github/workflows/build.yml new file mode 100644 index 0000000..09652e0 --- /dev/null +++ b/src/contrib/SDL-3.2.20/.github/workflows/build.yml | |||
@@ -0,0 +1,48 @@ | |||
1 | name: 'Build (All)' | ||
2 | |||
3 | on: [push, pull_request] | ||
4 | |||
5 | concurrency: | ||
6 | group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} | ||
7 | cancel-in-progress: true | ||
8 | |||
9 | jobs: | ||
10 | controller: | ||
11 | name: 'Create test plan' | ||
12 | runs-on: 'ubuntu-latest' | ||
13 | outputs: | ||
14 | platforms-level1: ${{ steps.plan.outputs.platforms-level1 }} | ||
15 | platforms-others: ${{ steps.plan.outputs.platforms-others }} | ||
16 | steps: | ||
17 | - uses: actions/setup-python@main | ||
18 | with: | ||
19 | python-version: 3.x | ||
20 | - uses: actions/checkout@main | ||
21 | with: | ||
22 | sparse-checkout: '.github/workflows/create-test-plan.py' | ||
23 | - name: 'Create plan' | ||
24 | id: plan | ||
25 | run: | | ||
26 | # Adding [sdl-ci-filter GLOB] to the commit message will limit the jobs | ||
27 | # e.g. [sdl-ci-filter msvc-*] | ||
28 | EOF=$(openssl rand -hex 32) | ||
29 | cat >/tmp/commit_message.txt <<$EOF | ||
30 | ${{ github.event.head_commit.message }} | ||
31 | $EOF | ||
32 | |||
33 | python .github/workflows/create-test-plan.py \ | ||
34 | --github-variable-prefix platforms \ | ||
35 | --github-ci \ | ||
36 | --verbose \ | ||
37 | ${{ (github.repository_owner != 'libsdl-org' && '--no-artifact') || '' }} \ | ||
38 | --commit-message-file /tmp/commit_message.txt | ||
39 | level1: | ||
40 | needs: [controller] | ||
41 | uses: './.github/workflows/generic.yml' | ||
42 | with: | ||
43 | platforms: ${{ needs.controller.outputs.platforms-level1 }} | ||
44 | level2: | ||
45 | needs: [controller, level1] | ||
46 | uses: './.github/workflows/generic.yml' | ||
47 | with: | ||
48 | platforms: ${{ needs.controller.outputs.platforms-others }} | ||