Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,29 @@ jobs:
- name: Build
run: ./pepsi build --locked --release ${{ matrix.tool }}

build_pepsi_android:
name: Build pepsi for Android
runs-on:
- self-hosted
- v3
container:
image: ghcr.io/hulks/hulk-ci:1.92.0
options: --user=1000:1000
env:
TARGET: aarch64-linux-android
steps:
- uses: actions/checkout@v4
- name: Install Rust target
run: rustup target add ${{ env.TARGET }}
- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r27d
Comment on lines +173 to +178

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefer to put this into ci image? Would reduce CI time

- name: Build
env:
CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER: ${{ steps.setup-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang
run: ./pepsi build --locked --release --target ${{ env.TARGET }} pepsi

# build_mkdocs:
# name: Build mkdocs
# runs-on: ubuntu-latest
Expand Down
Loading