mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-27 05:26:13 +01:00
Add GitHub Actions workflow for NuGet release
This commit is contained in:
1 parent
2ec9764ac4
commit
7fd47811cb
5 files changed
+285
-6
No files matched your search
@@ -5,9 +5,10 @@ set -e
|
||||
|
||||
if [[ -z "$1" ]]; then
|
||||
echo 'No Runtime Identifier specified, running all known RIDs'
|
||||
./build.docker.sh "alpine-x64"
|
||||
./build.docker.sh "debian-x64"
|
||||
./build.docker.sh "fedora-x64"
|
||||
./build.docker.sh "linux-x64"
|
||||
./build.docker.sh "linux-musl-x64"
|
||||
./build.docker.sh "linux-arm"
|
||||
./build.docker.sh "linux-arm64"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@@ -30,6 +31,26 @@ case "$RID" in
|
||||
Shell='/bin/bash'
|
||||
;;
|
||||
|
||||
'linux-x64')
|
||||
Image='ubuntu:22.04'
|
||||
Shell='/bin/bash'
|
||||
;;
|
||||
|
||||
'linux-musl-x64')
|
||||
Image='alpine:3.15'
|
||||
Shell='/bin/sh'
|
||||
;;
|
||||
|
||||
'linux-arm')
|
||||
Image='arm32v7/ubuntu:22.04'
|
||||
Shell='/bin/bash'
|
||||
;;
|
||||
|
||||
'linux-arm64')
|
||||
Image='arm64v8/ubuntu:22.04'
|
||||
Shell='/bin/bash'
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Unknown Runtime Identifier $RID"
|
||||
exit 1
|
||||
|
||||
Reference in new issue
Block a user