From 634c500ebae98afc6f26eecd55419a9b2f8bb229 Mon Sep 17 00:00:00 2001 From: Ryo Ota Date: Fri, 9 Feb 2024 19:00:33 +0900 Subject: [PATCH] cross-android-cannot-find-lunwind --- .../cross-android-cannot-find-lunwind.yml | 31 +++++++++++++++++++ cross-android-cannot-find-lunwind/.gitignore | 1 + cross-android-cannot-find-lunwind/Cargo.lock | 7 +++++ cross-android-cannot-find-lunwind/Cargo.toml | 8 +++++ cross-android-cannot-find-lunwind/src/main.rs | 3 ++ 5 files changed, 50 insertions(+) create mode 100644 .github/workflows/cross-android-cannot-find-lunwind.yml create mode 100644 cross-android-cannot-find-lunwind/.gitignore create mode 100644 cross-android-cannot-find-lunwind/Cargo.lock create mode 100644 cross-android-cannot-find-lunwind/Cargo.toml create mode 100644 cross-android-cannot-find-lunwind/src/main.rs diff --git a/.github/workflows/cross-android-cannot-find-lunwind.yml b/.github/workflows/cross-android-cannot-find-lunwind.yml new file mode 100644 index 0000000..5c35e95 --- /dev/null +++ b/.github/workflows/cross-android-cannot-find-lunwind.yml @@ -0,0 +1,31 @@ +name: CI + +on: [push] + +env: + CROSS_VERSION: 0.2.5 + +jobs: + cross_build: + strategy: + max-parallel: 8 + fail-fast: false + matrix: + rust_versoin: + - 1.67.0 + - 1.68.0 + - 1.76.0 + target: + - i686-linux-android # ERROR + - x86_64-linux-android # ERROR + - x86_64-unknown-linux-musl # WORKS + runs-on: ubuntu-22.04 + steps: + - run: rustup default ${{ matrix.rust_versoin }} + - uses: actions/checkout@v4 + - name: Install cross + run: cd /tmp && curl -L https://github.com/cross-rs/cross/releases/download/v${CROSS_VERSION}/cross-x86_64-unknown-linux-musl.tar.gz | tar xzf - + - run: /tmp/cross build --target=${{ matrix.target }} --release --locked + working-directory: ./cross-android-cannot-find-lunwind + + diff --git a/cross-android-cannot-find-lunwind/.gitignore b/cross-android-cannot-find-lunwind/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/cross-android-cannot-find-lunwind/.gitignore @@ -0,0 +1 @@ +/target diff --git a/cross-android-cannot-find-lunwind/Cargo.lock b/cross-android-cannot-find-lunwind/Cargo.lock new file mode 100644 index 0000000..2c9803f --- /dev/null +++ b/cross-android-cannot-find-lunwind/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "cross-android-cannot-find-lunwind" +version = "0.1.0" diff --git a/cross-android-cannot-find-lunwind/Cargo.toml b/cross-android-cannot-find-lunwind/Cargo.toml new file mode 100644 index 0000000..c314bc9 --- /dev/null +++ b/cross-android-cannot-find-lunwind/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "cross-android-cannot-find-lunwind" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/cross-android-cannot-find-lunwind/src/main.rs b/cross-android-cannot-find-lunwind/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/cross-android-cannot-find-lunwind/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}