Skip to content

Commit

Permalink
unbreak and fix local install
Browse files Browse the repository at this point in the history
  • Loading branch information
planetis-m committed Jul 16, 2024
1 parent e3bf776 commit 23009ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
nimble -d:GitHubCI setupBuildEnv -Y
- name: Run tests
run: |
nimble -d:GitHubCI test
nimble -d:GitHubCI testCI
- name: Upload APK artifact
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
nimble -d:GitHubCI setupBuildEnv -Y
- name: Run tests
run: |
nimble -d:GitHubCI test
nimble -d:GitHubCI testCI
- name: Upload APK artifact
uses: actions/upload-artifact@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions build_android.nims
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ const
# Required path variables
const
JavaHome = getEnv"JAVA_HOME"
AndroidNdk = getEnv"ANDROID_NDK"
AndroidHome = getEnv"ANDROID_HOME"
AndroidNdk = when defined(GitHubCI): getEnv"GITHUB_WORKSPACE" / "android-ndk" else: getEnv"ANDROID_NDK"
AndroidHome = when defined(GitHubCI): getEnv"GITHUB_WORKSPACE" / "android-sdk" else: getEnv"ANDROID_HOME"
AndroidBuildTools = AndroidHome / "build-tools/34.0.0"
AndroidPlatformTools = AndroidHome / "platform-tools"

Expand Down
2 changes: 1 addition & 1 deletion raylib_game.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ elif detectOs(Ubuntu):
include "build_android.nims"
include "setup_build_env.nims"

task test, "Runs the test suite":
task testCI, "Runs the test suite":
# Test Android cross-compilation
setupAndroidTask()
buildAndroidTask()

0 comments on commit 23009ce

Please sign in to comment.