Explicitly copy and bundle SwiftGodot libraries
This commit is contained in:
@@ -47,13 +47,20 @@ jobs:
|
|||||||
$binPath = swift build --show-bin-path
|
$binPath = swift build --show-bin-path
|
||||||
New-Item -ItemType Directory -Path "${{github.workspace}}/artifacts" -Force
|
New-Item -ItemType Directory -Path "${{github.workspace}}/artifacts" -Force
|
||||||
Copy-Item -Path "$binPath/Logic.dll" -Destination "${{github.workspace}}/artifacts/"
|
Copy-Item -Path "$binPath/Logic.dll" -Destination "${{github.workspace}}/artifacts/"
|
||||||
|
Copy-Item -Path "$binPath/SwiftGodot.dll" -Destination "${{github.workspace}}/artifacts/"
|
||||||
|
|
||||||
- name: Bundle DLLs
|
- name: Bundle Logic 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: "${{github.workspace}}/artifacts/Logic.dll"
|
executable: "${{github.workspace}}/artifacts/Logic.dll"
|
||||||
output: "${{github.workspace}}/artifacts/"
|
output: "${{github.workspace}}/artifacts/"
|
||||||
|
|
||||||
|
- name: Bundle SwiftGodot DLLs
|
||||||
|
uses: https://git.omgitsalexl.me/omgitsalexl/windows-collect-dependencies@v1.0.3
|
||||||
|
with:
|
||||||
|
executable: "${{github.workspace}}/artifacts/SwiftGodot.dll"
|
||||||
|
output: "${{github.workspace}}/artifacts/"
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -79,13 +86,20 @@ jobs:
|
|||||||
BIN_PATH=$(swift build --show-bin-path)
|
BIN_PATH=$(swift build --show-bin-path)
|
||||||
mkdir -p "${{github.workspace}}/artifacts/"
|
mkdir -p "${{github.workspace}}/artifacts/"
|
||||||
cp "$BIN_PATH/libLogic.so" "${{github.workspace}}/artifacts/"
|
cp "$BIN_PATH/libLogic.so" "${{github.workspace}}/artifacts/"
|
||||||
|
cp "$BIN_PATH/libSwiftGodot.so" "${{github.workspace}}/artifacts/"
|
||||||
|
|
||||||
- name: Bundle Shared Libraries
|
- name: Bundle libLogic 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
|
||||||
with:
|
with:
|
||||||
executable: "${{github.workspace}}/artifacts/libLogic.so"
|
executable: "${{github.workspace}}/artifacts/libLogic.so"
|
||||||
output: "${{github.workspace}}/artifacts/"
|
output: "${{github.workspace}}/artifacts/"
|
||||||
|
|
||||||
|
- name: Bundle libSwiftGodot Libraries
|
||||||
|
uses: https://git.omgitsalexl.me/omgitsalexl/linux-collect-dependencies@v1.0.1
|
||||||
|
with:
|
||||||
|
executable: "${{github.workspace}}/artifacts/libSwiftGodot.so"
|
||||||
|
output: "${{github.workspace}}/artifacts/"
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
swift build -c release -Xswiftc -no-verify-emitted-module-interface
|
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 "${{github.workspace}}/artifacts"
|
mkdir -p "${{github.workspace}}/artifacts/"
|
||||||
cp "$BIN_PATH/libLogic.dylib" "${{github.workspace}}/artifacts/"
|
cp "$BIN_PATH/libLogic.dylib" "${{github.workspace}}/artifacts/"
|
||||||
cp "$BIN_PATH/libSwiftGodot.dylib" "${{github.workspace}}/artifacts/"
|
cp "$BIN_PATH/libSwiftGodot.dylib" "${{github.workspace}}/artifacts/"
|
||||||
|
|
||||||
@@ -46,13 +46,20 @@ jobs:
|
|||||||
$binPath = swift build -c release --show-bin-path
|
$binPath = swift build -c release --show-bin-path
|
||||||
New-Item -ItemType Directory -Path "${{github.workspace}}/artifacts" -Force
|
New-Item -ItemType Directory -Path "${{github.workspace}}/artifacts" -Force
|
||||||
Copy-Item -Path "$binPath/Logic.dll" -Destination "${{github.workspace}}/artifacts/"
|
Copy-Item -Path "$binPath/Logic.dll" -Destination "${{github.workspace}}/artifacts/"
|
||||||
|
Copy-Item -Path "$binPath/SwiftGodot.dll" -Destination "${{github.workspace}}/artifacts/"
|
||||||
|
|
||||||
- name: Bundle DLLs
|
- name: Bundle Logic 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: "${{github.workspace}}/artifacts/Logic.dll"
|
executable: "${{github.workspace}}/artifacts/Logic.dll"
|
||||||
output: "${{github.workspace}}/artifacts/"
|
output: "${{github.workspace}}/artifacts/"
|
||||||
|
|
||||||
|
- name: Bundle SwiftGodot DLLs
|
||||||
|
uses: https://git.omgitsalexl.me/omgitsalexl/windows-collect-dependencies@v1.0.3
|
||||||
|
with:
|
||||||
|
executable: "${{github.workspace}}/artifacts/SwiftGodot.dll"
|
||||||
|
output: "${{github.workspace}}/artifacts/"
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -76,15 +83,22 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
swift build -c release -Xswiftc -no-verify-emitted-module-interface
|
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 "${{github.workspace}}/artifacts"
|
mkdir -p "${{github.workspace}}/artifacts/"
|
||||||
cp "$BIN_PATH/libLogic.so" "${{github.workspace}}/artifacts/"
|
cp "$BIN_PATH/libLogic.so" "${{github.workspace}}/artifacts/"
|
||||||
|
cp "$BIN_PATH/libSwiftGodot.so" "${{github.workspace}}/artifacts/"
|
||||||
|
|
||||||
- name: Bundle Shared Libraries
|
- name: Bundle libLogic 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
|
||||||
with:
|
with:
|
||||||
executable: "${{github.workspace}}/artifacts/libLogic.so"
|
executable: "${{github.workspace}}/artifacts/libLogic.so"
|
||||||
output: "${{github.workspace}}/artifacts/"
|
output: "${{github.workspace}}/artifacts/"
|
||||||
|
|
||||||
|
- name: Bundle libSwiftGodot Libraries
|
||||||
|
uses: https://git.omgitsalexl.me/omgitsalexl/linux-collect-dependencies@v1.0.1
|
||||||
|
with:
|
||||||
|
executable: "${{github.workspace}}/artifacts/libSwiftGodot.so"
|
||||||
|
output: "${{github.workspace}}/artifacts/"
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user