mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-27 21:36: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
@@ -48,7 +48,7 @@ Ensures that the last command run was a success, checking its exit code.
|
||||
#>
|
||||
function Ensure-Success() {
|
||||
if ($LastExitCode -ne 0) {
|
||||
exit
|
||||
exit -1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -119,6 +119,7 @@ cmake `
|
||||
'-DCMAKE_BUILD_TYPE=Release' `
|
||||
'-DCMAKE_SYSTEM_VERSION=8.1' `
|
||||
'-DSFML_USE_STATIC_STD_LIBS=1' `
|
||||
'-DSFML_BUILD_NETWORK=0' `
|
||||
"-G$Generator" `
|
||||
"-A$Architecture" `
|
||||
$SFMLDir
|
||||
@@ -158,6 +159,7 @@ cmake `
|
||||
`
|
||||
"-DBUILD_SHARED_LIBS=1" `
|
||||
'-DCMAKE_BUILD_TYPE=Release' `
|
||||
'-DCSFML_BUILD_NETWORK=0' `
|
||||
`
|
||||
"-G$generator" `
|
||||
"-A$Architecture" `
|
||||
|
||||
Reference in new issue
Block a user