Skip to content

Commit

Permalink
cross-android-cannot-find-lunwind
Browse files Browse the repository at this point in the history
  • Loading branch information
nwtgck committed Feb 9, 2024
1 parent 02b852b commit 634c500
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/cross-android-cannot-find-lunwind.yml
Original file line number Diff line number Diff line change
@@ -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


1 change: 1 addition & 0 deletions cross-android-cannot-find-lunwind/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
7 changes: 7 additions & 0 deletions cross-android-cannot-find-lunwind/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions cross-android-cannot-find-lunwind/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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]
3 changes: 3 additions & 0 deletions cross-android-cannot-find-lunwind/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

0 comments on commit 634c500

Please sign in to comment.