Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool authored Aug 7, 2023
1 parent 0959ff9 commit 9b37309
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
path: action

- uses: actions/checkout@v3
with:
repository: geode-sdk/textureldr

- name: Build the mod
uses: ./
uses: ./action

19 changes: 18 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ runs:
if [ "$ID" = "win" ]; then CLI="./geode.exe"; else CLI="./geode"; fi
echo "id=$ID" >> $GITHUB_OUTPUT
echo "cli=$CLI" >> $GITHUB_OUTPUT
- uses: ilammy/msvc-dev-cmd@v1
with:
arch: x86

- name: Download CLI
uses: robinraju/release-downloader@v1.8
Expand Down Expand Up @@ -48,4 +52,17 @@ runs:
SDK_VERSION=${{ inputs.sdk }}
fi
geode sdk update $SDK_VERSION
geode sdk install-binaries
geode sdk install-binaries
- name: Run CMake and build
shell: bash
run: |
cd ${{ github.workspace }}
echo "is it still set $GEODE_SDK"
if [ "$RUNNER_OS" = "Windows" ]; then
CMAKE_EXTRA_ARGS="-T host=x64 -A win32"
else
CMAKE_EXTRA_ARGS="-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13"
fi
cmake -B build $CMAKE_EXTRA_ARGS -DGEODE_DONT_INSTALL_MODS=On -DGEODE_DONT_UPDATE_INDEX=On
cmake --build build --config Release

0 comments on commit 9b37309

Please sign in to comment.