Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4504417
build.yml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
build.yml
View Options
name
:
Build All Platforms
on
:
push
:
pull_request
:
workflow_dispatch
:
concurrency
:
group
:
${{ github.workflow }}-${{ github.ref }}
cancel-in-progress
:
false
jobs
:
prepare
:
runs-on
:
ubuntu-latest
if
:
|
github.ref_type != 'tag' &&
!contains(github.event.head_commit.message || '', '(ci-ignore)') &&
!contains(github.event.pull_request.title || '', '(ci-ignore)') && (
github.event_name == 'workflow_dispatch' ||
github.event_name == 'pull_request' ||
(github.event_name == 'push' && contains(github.event.head_commit.message, '[ci] trigger build'))
)
outputs
:
timestamp
:
${{ steps.timestamp.outputs.value }}
steps
:
-
id
:
timestamp
run
:
echo "value=$(date +%s)" >> $GITHUB_OUTPUT
build
:
needs
:
prepare
strategy
:
fail-fast
:
false
matrix
:
platform
:
-
linux-glibc-x64
-
linux-glibc-aarch64
-
linux-musl-x64
-
linux-musl-aarch64
-
macos-x64
-
macos-aarch64
-
macos-x64-mbedtls
-
macos-aarch64-mbedtls
-
windows-x64
uses
:
./.github/workflows/build-platform.yml
with
:
platform
:
${{ matrix.platform }}
build_timestamp
:
${{ needs.prepare.outputs.timestamp }}
summary
:
needs
:
build
runs-on
:
ubuntu-latest
if
:
${{ !cancelled() && needs.build.result != 'skipped' }}
steps
:
-
name
:
Download version artifacts
uses
:
actions/download-artifact@v4
with
:
pattern
:
version-*
path
:
versions
-
name
:
Generate summary
run
:
|
echo "## Build Versions" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "| Platform | Version |" >> $GITHUB_STEP_SUMMARY
echo "|----------|---------|" >> $GITHUB_STEP_SUMMARY
for dir in versions/version-*; do
platform=$(basename "$dir" | sed 's/version-//')
version=$(cat "$dir/version.txt" 2>/dev/null || echo "N/A")
echo "| $platform | \`$version\` |" >> $GITHUB_STEP_SUMMARY
done
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, May 3, 9:50 AM (6 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
543711
Default Alt Text
build.yml (2 KB)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment