Skip to content

Commit

Permalink
rewrite ci
Browse files Browse the repository at this point in the history
Change-Id: I16a89d4cdf5874d72e2ad3b01f95923aab084aaf
  • Loading branch information
SolDev69 committed Dec 23, 2023
1 parent 64b7084 commit d1deb55
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,15 @@ jobs:
shell: bash
run: |
cd swiftshader
export PATH=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/:$PATH
# export PATH=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/:$PATH
git submodule init
cd build
export CMAKE_C_COMPILER=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android25-clang
export CMAKE_CXX_COMPILER=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android25-clang++
export CMAKE_ASM_COMPILER=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-as
cmake \
-G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-D SWIFTSHADER_WARNINGS_AS_ERRORS=off \
-B build
ninja -C build
mkdir /tmp/swiftshader
mv build/libvk_swiftshader.so /tmp/swiftshader
mv build/libvk_swiftshader.so /tmp/swiftshader -v
- name: Upload libraries
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit d1deb55

Please # to comment.