Use cached builds for Lime

This commit is contained in:
EliteMasterEric 2023-08-03 11:47:40 -04:00
parent 050086fb36
commit 4e1a5d6d65
2 changed files with 3 additions and 26 deletions

View File

@ -27,21 +27,9 @@ jobs:
with:
submodules: 'recursive'
- uses: ./.github/actions/setup-haxeshit
- name: Build Lime
# TODO: Remove the step that builds Lime later.
# Bash method
run: |
LIME_PATH=`haxelib libpath lime`
echo "Moving to $LIME_PATH"
cd $LIME_PATH
git submodule sync --recursive
git submodule update --recursive
git status
sudo apt-get install -y libxinerama-dev libxrandr-dev libgl1-mesa-dev
haxelib run lime rebuild linux --clean
- name: Build game
run: |
sudo apt-get install -y libx11-dev xorg-dev libgl-dev libxi-dev libxext-dev libasound2-dev
sudo apt-get install -y libx11-dev xorg-dev libgl-dev libxi-dev libxext-dev libasound2-dev libxinerama-dev libxrandr-dev libgl1-mesa-dev
haxelib run lime build html5 -debug --times
ls
- uses: ./.github/actions/upload-itch
@ -61,17 +49,6 @@ jobs:
with:
submodules: 'recursive'
- uses: ./.github/actions/setup-haxeshit
- name: Build Lime
# TODO: Remove the step that builds Lime later.
# Powershell method
run: |
$LIME_PATH = haxelib libpath lime
echo "Moving to $LIME_PATH"
cd $LIME_PATH
git submodule sync --recursive
git submodule update --recursive
git status
haxelib run lime rebuild windows --clean
- name: Build game
run: |
haxelib run lime build windows -debug

View File

@ -88,7 +88,7 @@
"name": "lime",
"type": "git",
"dir": null,
"ref": "acb0334c59bd4618f3c0277584d524ed0b288b5f",
"ref": "58800b7810123cbe5c1f5b88f23e4ebf6fae6f3a",
"url": "https://github.com/EliteMasterEric/lime"
},
{
@ -123,4 +123,4 @@
"version": "0.11.0"
}
]
}
}