Skip to content

Commit

Permalink
Fix skytemple-rust installation macOS/Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
theCapypara committed Sep 17, 2023
1 parent e998049 commit 8dbebf2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,15 @@ jobs:
# Package
.\build-windows.ps1 $PACKAGE_VERSION
if(!(Test-Path ".\dist\skytemple\skytemple.exe")){
return 1
}
# Install latest skytemple-rust
bash .\install-skytemple-rust.sh
if ($env:IS_DEV_BUILD) {
bash .\install-skytemple-rust.sh
}
- name: Create installer
uses: joncloud/[email protected]
with:
Expand Down Expand Up @@ -201,7 +204,9 @@ jobs:
# Install other dependencies and SkyTemple itself
pip3 install py-desmume pyinstaller
IS_MACOS=1 installer/install-skytemple-rust.sh x86_64
if [ -n "$IS_DEV_BUILD" ]; then
IS_MACOS=1 installer/install-skytemple-rust.sh x86_64
fi
pip3 install -r requirements-mac-windows.txt
pip3 install '.[eventserver]'
if [ -n "$IS_DEV_BUILD" ]; then
Expand Down
5 changes: 1 addition & 4 deletions installer/install-skytemple-rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ platform="windows-2019"
arch="x64"
py_version="3.11"

branch="release"
if [ -n "$IS_DEV_BUILD" ]; then
branch="master"
fi
branch="master"

if [ -n "$IS_MACOS" ]; then
platform="macos-11"
Expand Down

0 comments on commit 8dbebf2

Please sign in to comment.