Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
Signed-off-by: leleliu008 <leleliu008@gmail.com>
  • Loading branch information
leleliu008 committed Feb 14, 2024
1 parent 4ae12bf commit 4afb6ae
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/wsl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
# https://github.com/marketplace/actions/setup-wsl
- uses: Vampire/setup-wsl@v2.0.2
- uses: Vampire/setup-wsl@v3
with:
distribution: ${{ matrix.distribution }}

Expand All @@ -37,10 +37,10 @@ jobs:
- run: export -p

- run: apt -y update && apt -y install curl xz-utils g++ git
- run: apt -y update && apt -y install curl xz-utils g++ git patchelf
if: ${{ matrix.distribution == 'Debian' }}

- run: apt -y update && apt -y install curl xz-utils g++ git
- run: apt -y update && apt -y install curl xz-utils g++ git patchelf
if: ${{ matrix.distribution == 'Ubuntu-22.04' }}

- run: zypper update -y && zypper install -y curl tar xz gcc-c++ git
Expand All @@ -58,6 +58,9 @@ jobs:

- run: ./ndk-pkg setup

# https://github.com/microsoft/WSL/issues/8681
- run: patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 ~/.uppm/installed/android-ndk-r26b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang

- run: ./ndk-pkg sysinfo


Expand Down

0 comments on commit 4afb6ae

Please sign in to comment.