Skip to content

Commit

Permalink
Download GDClip v0.2 release for ci builds
Browse files Browse the repository at this point in the history
This fixes errors related to missing gdclip libraries.
  • Loading branch information
hansemro committed Jun 14, 2022
1 parent 9ff6029 commit fa29362
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:
GODOT_VERSION: 3.4.4
EXPORT_NAME: Lorien
LORIEN_VERSION: v0.6.0-dev
GDCLIP_VERSION: v0.2

jobs:
windows-export:
Expand All @@ -25,6 +26,10 @@ jobs:
mkdir -v -p build/${EXPORT_NAME}_${LORIEN_VERSION}_Windows
mkdir -v -p ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
mkdir -p lorien/InfiniteCanvas/GDClip/bin
cd lorien/InfiniteCanvas/GDClip/bin
wget https://github.com/hansemro/GDClip/releases/download/${GDCLIP_VERSION}/libgdclip-windows-x86_64-release.zip
unzip libgdclip-windows-x86_64-release.zip
- name: Windows Build
run: |
cd lorien
Expand All @@ -49,6 +54,10 @@ jobs:
mkdir -v -p build/${EXPORT_NAME}_${LORIEN_VERSION}_Linux
mkdir -v -p ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
mkdir -p lorien/InfiniteCanvas/GDClip/bin
cd lorien/InfiniteCanvas/GDClip/bin
wget https://github.com/hansemro/GDClip/releases/download/${GDCLIP_VERSION}/libgdclip-linux-x86_64-release.zip
unzip libgdclip-linux-x86_64-release.zip
- name: Linux Build
run: |
cd lorien
Expand All @@ -73,7 +82,11 @@ jobs:
mkdir -v -p build/${EXPORT_NAME}_${LORIEN_VERSION}_Mac
mkdir -v -p ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
- name: Windows Build
mkdir -p lorien/InfiniteCanvas/GDClip/bin
cd lorien/InfiniteCanvas/GDClip/bin
wget https://github.com/hansemro/GDClip/releases/download/${GDCLIP_VERSION}/libgdclip-macos-x86_64-release.zip
unzip libgdclip-macos-x86_64-release.zip
- name: Mac Build
run: |
cd lorien
godot -v --export "Mac OSX" ../build/${EXPORT_NAME}_${LORIEN_VERSION}_Mac/${EXPORT_NAME}_${LORIEN_VERSION}.zip
Expand All @@ -82,4 +95,4 @@ jobs:
with:
name: Lorien Mac
path: build/${{ env.EXPORT_NAME }}_${{ env.LORIEN_VERSION }}_Mac
retention-days: 14
retention-days: 14

0 comments on commit fa29362

Please # to comment.