Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9ef4e0159d | ||
|
|
20157bc329 | ||
|
|
e19b369ad7 |
@@ -18,7 +18,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
swift build -c release
|
swift build -c release -Xswiftc -no-verify-emitted-module-interface
|
||||||
BIN_PATH=$(swift build -c release --show-bin-path)
|
BIN_PATH=$(swift build -c release --show-bin-path)
|
||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
cp "$BIN_PATH/libLogic.dylib" artifacts/
|
cp "$BIN_PATH/libLogic.dylib" artifacts/
|
||||||
@@ -43,15 +43,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
swift build -c release
|
swift build -c release -Xswiftc -no-verify-emitted-module-interface
|
||||||
$binPath = swift build -c release --show-bin-path
|
$binPath = swift build -c release --show-bin-path
|
||||||
New-Item -ItemType Directory -Path artifacts -Force
|
New-Item -ItemType Directory -Path artifacts -Force
|
||||||
Copy-Item -Path "$binPath/libLogic.dll" -Destination artifacts/
|
Copy-Item -Path "$binPath/Logic.dll" -Destination artifacts/
|
||||||
|
|
||||||
- name: Bundle DLLs
|
- name: Bundle DLLs
|
||||||
uses: https://git.omgitsalexl.me/omgitsalexl/windows-collect-dependencies@v1.0.3
|
uses: https://git.omgitsalexl.me/omgitsalexl/windows-collect-dependencies@v1.0.3
|
||||||
with:
|
with:
|
||||||
executable: artifacts/libLogic.dll
|
executable: artifacts/Logic.dll
|
||||||
output: artifacts/
|
output: artifacts/
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
@@ -75,10 +75,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
swift build -c release
|
swift build -c release -Xswiftc -no-verify-emitted-module-interface
|
||||||
BIN_PATH=$(swift build -c release --show-bin-path)
|
BIN_PATH=$(swift build -c release --show-bin-path)
|
||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
cp -r "$BIN_PATH/libLogic.so" artifacts/
|
cp "$BIN_PATH/libLogic.so" artifacts/
|
||||||
|
|
||||||
- name: Bundle Shared Libraries
|
- name: Bundle Shared Libraries
|
||||||
uses: https://git.omgitsalexl.me/omgitsalexl/linux-collect-dependencies@v1.0.1
|
uses: https://git.omgitsalexl.me/omgitsalexl/linux-collect-dependencies@v1.0.1
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ compatibility_minimum = 4.6
|
|||||||
[libraries]
|
[libraries]
|
||||||
macos.debug = "res://bin/libLogic.dylib"
|
macos.debug = "res://bin/libLogic.dylib"
|
||||||
macos.release = "res://bin/libLogic.dylib"
|
macos.release = "res://bin/libLogic.dylib"
|
||||||
windows.debug.arm64 = "res://bin/libLogic.dll"
|
windows.debug.arm64 = "res://bin/Logic.dll"
|
||||||
windows.release.arm64 = "res://bin/libLogic.dll"
|
windows.release.arm64 = "res://bin/Logic.dll"
|
||||||
linux.debug.arm64 = "res://bin/libLogic.so"
|
linux.debug.arm64 = "res://bin/libLogic.so"
|
||||||
linux.release.arm64 = "res://bin/libLogic.so"
|
linux.release.arm64 = "res://bin/libLogic.so"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"originHash" : "d86eb4e9e571bf364b6c16d511f4b1cc74d842b35c3e29a542bab51c79399eac",
|
"originHash" : "d8116b12d95960113cdfd211d3d2a8a6ca214add0bad9640ec9c8bb07893824e",
|
||||||
"pins" : [
|
"pins" : [
|
||||||
{
|
{
|
||||||
"identity" : "swift-argument-parser",
|
"identity" : "swift-argument-parser",
|
||||||
@@ -24,8 +24,8 @@
|
|||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/migueldeicaza/SwiftGodot",
|
"location" : "https://github.com/migueldeicaza/SwiftGodot",
|
||||||
"state" : {
|
"state" : {
|
||||||
"branch" : "main",
|
"revision" : "2b0e39dc1c23454408f83c0a83ddf9c2516624c0",
|
||||||
"revision" : "269d526ee440afd537cb1d2079f6ff4b3c96014c"
|
"version" : "0.79.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
+3
-2
@@ -16,14 +16,15 @@ let package = Package(
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
dependencies: [
|
dependencies: [
|
||||||
.package(url: "https://github.com/migueldeicaza/SwiftGodot", branch: "main")
|
.package(url: "https://github.com/migueldeicaza/SwiftGodot", from: "0.79.0")
|
||||||
],
|
],
|
||||||
targets: [
|
targets: [
|
||||||
.target(
|
.target(
|
||||||
name: "Logic",
|
name: "Logic",
|
||||||
dependencies: [
|
dependencies: [
|
||||||
.product(name: "SwiftGodot", package: "SwiftGodot")
|
.product(name: "SwiftGodot", package: "SwiftGodot")
|
||||||
]
|
],
|
||||||
|
swiftSettings: [.unsafeFlags(["-suppress-warnings"])]
|
||||||
),
|
),
|
||||||
.testTarget(
|
.testTarget(
|
||||||
name: "Logic Tests",
|
name: "Logic Tests",
|
||||||
|
|||||||
Reference in New Issue
Block a user