Skip to content

Commit

Permalink
fix android build
Browse files Browse the repository at this point in the history
  • Loading branch information
MiniTurtle committed Mar 20, 2024
1 parent 1b39fa2 commit fd579d6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ jobs:

- name: Install deps
run: |
sudo rm /var/lib/man-db/auto-update
sudo rm /var/lib/man-db/auto-update || true
sudo apt-get update
sudo apt-get install -qyy wget unzip zip gcc-multilib make cmake
Expand All @@ -201,10 +201,12 @@ jobs:
if: ${{ steps.cache-ndk.outputs.cache-hit != 'true' }}

- name: Build
run: ./scripts/ci-build-android.sh ${{ matrix.arch }}
run: |
chmod +x ./scripts/ci-build-android.sh
./scripts/ci-build-android.sh ${{ matrix.arch }}
#- name: Upload Artifact
# uses: actions/upload-artifact@v4
# with:
# name: irrlicht-android-${{ matrix.arch }}
# path: ${{ runner.temp }}/pkg/${{ matrix.arch }}
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: irrlicht-android-${{ matrix.arch }}
path: ${{ runner.temp }}/pkg/${{ matrix.arch }}
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export(EXPORT IrrlichtMt-export
# Installation of headers.
install(DIRECTORY "${PROJECT_SOURCE_DIR}/include/"
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/irrlichtmt"
FILES_MATCHING PATTERN "*.h"
)

# Installation of CMake target and configuration files.
Expand Down
File renamed without changes.

0 comments on commit fd579d6

Please sign in to comment.