This repository was archived by the owner on Jan 5, 2024. It is now read-only.
forked from DataRealms/CCOSS
-
Notifications
You must be signed in to change notification settings - Fork 39
Make existing build workflows reusable #499
Merged
garethyr
merged 32 commits into
development
from
470-make-existing-build-workflows-reusable
Jul 15, 2023
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
633329e
ci: refactor msbuild workflow to be reusable
traunts dd51792
ci: refactor meson build workflow to be reusable
traunts 82e8087
ci: refactor to set meson version via an environment variable
traunts dd15a3c
ci: rename CI workflow
traunts 1e337f9
ci: refactor CI workflow to use new reusable workflows
traunts d64a294
ci: disable CI triggers on push to `master`
traunts 8d43292
ci: fix incorrect options for `if-no-files-found` Action input
traunts def43b5
ci: correct artefact upload path for msbuild
traunts d167ee9
Merge branch 'development' into 470-make-existing-build-workflows-reu…
traunts 601fe2d
ci: update workflow_dispatch inputs so manual triggers are correctly …
traunts acd661e
ci: format and update workflow input descriptions
traunts 23bc29c
test mapping build_config to executable name
traunts 1496969
fix bad yaml syntax in exe name mapping and switch to conditional ste…
traunts 57a6a64
temp reordering to fix bad format string
traunts 7668113
Fix incorrect quotes in json strings
traunts d3b3a49
Reorder steps post-debug
traunts 69a7dad
Further debugging changes to json mapping
traunts bcf5393
Testing quotes issues?
traunts bd828e8
Sanity checks
traunts 50527fa
remove unsupported env name
traunts ca7e94b
force bash shells
traunts d693d1c
force bash shells
traunts 90b05a7
Merge branch '470-make-existing-build-workflows-reusable' of https://…
traunts baa57a2
Remove sanity check and reorder steps, revert to using step outputs r…
traunts a2b1355
Input Mapping formatting
traunts e3a7c44
Create a new workflow to upload master build artefacts
traunts be1e4ed
Update workflow trigger comments to better document input schema
traunts 6999a7f
Update workflow trigger comment descriptions, and standardise between…
traunts 1db7721
Merge branch 'development' into 470-make-existing-build-workflows-reu…
traunts bce1776
Fix macOS workflow runs not finding the debug version of the executab…
traunts c4e9059
extglob is not available on the GitHub Actions runners, reverted to m…
traunts 476294b
ci: remove unneeded clang installation step
traunts File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Continuous Integration | ||
|
||
on: | ||
# Triggers the workflow for pushes to development, for pull request events, and for the merge queue | ||
push: | ||
branches: [development] | ||
pull_request: | ||
types: [opened, reopened, ready_for_review, synchronize] | ||
merge_group: | ||
types: [checks_requested] | ||
|
||
workflow_dispatch: | ||
|
||
# Cancel in-progress runs if newer changes to the same branch/PR are pushed. | ||
concurrency: | ||
group: ci-${{ github.head_ref || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
meson: | ||
uses: ./.github/workflows/meson.yml | ||
|
||
msbuild: | ||
uses: ./.github/workflows/msbuild.yml | ||
|
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
name: Master Build | ||
|
||
on: | ||
# Triggers the workflow for pushes to master | ||
push: | ||
branches: [master] | ||
|
||
workflow_dispatch: | ||
|
||
# Cancel in-progress runs if newer changes to the same branch/PR are pushed. | ||
concurrency: | ||
group: ci-${{ github.head_ref || github.ref }} | ||
cancel-in-progress: true | ||
|
||
# Build the game on all platforms and store build artefacts of both jobs | ||
jobs: | ||
meson: | ||
uses: ./.github/workflows/meson.yml | ||
with: | ||
upload_artefacts: true | ||
|
||
msbuild: | ||
uses: ./.github/workflows/msbuild.yml | ||
with: | ||
upload_artefacts: true | ||
|
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.