diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 4561090d87..03c0313b65 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -529,8 +529,22 @@ jobs: - name: Run Tests run: cargo test - other_targets: + ios: runs-on: macOS-latest + steps: + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + - name: install ios + run: rustup target add aarch64-apple-ios + - uses: actions/checkout@v3 + - uses: Swatinem/rust-cache@v2 + - name: Build iOS + run: cargo build --target aarch64-apple-ios && cd libafl_frida && cargo build --target aarch64-apple-ios && cd .. + + android: + runs-on: ubuntu-22.04 steps: - uses: actions-rs/toolchain@v1 with: @@ -539,18 +553,15 @@ jobs: - uses: nttld/setup-ndk@v1 with: ndk-version: r25b - - name: install ios - run: rustup target add aarch64-apple-ios - name: install android run: rustup target add aarch64-linux-android - name: install cargo ndk run: cargo install cargo-ndk - uses: actions/checkout@v3 - uses: Swatinem/rust-cache@v2 - - name: Build iOS - run: cargo build --target aarch64-apple-ios && cd libafl_frida && cargo build --target aarch64-apple-ios && cd .. - name: Build Android run: cargo ndk -t arm64-v8a build --release + #run: cargo build --target aarch64-linux-android # TODO: Figure out how to properly build stuff with clang #- name: Add clang path to $PATH env