Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 6 additions & 1 deletion .github/workflows/uniffi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ jobs:
target: 'aarch64-unknown-linux-gnu'
output: 'lib{0}.so'
lib_dir: 'linux-aarch64'
- host: ubuntu-latest
target: 's390x-unknown-linux-gnu'
output: 'lib{0}.so'
lib_dir: 'linux-s390x'
extra_args: '--features bindgen'

name: UniFFI - ${{ matrix.settings.target }}
runs-on: ${{ matrix.settings.host }}
Expand All @@ -67,7 +72,7 @@ jobs:
with:
working-directory: ${{ env.UNIFFI_DIRECTORY }}
target: ${{ matrix.settings.target }}
args: '--lib --release'
args: '--lib --release ${{ matrix.settings.extra_args }}'

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down
3 changes: 3 additions & 0 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[target.s390x-unknown-linux-gnu]
image = "ghcr.io/cross-rs/s390x-unknown-linux-gnu:main"
pre-build = ["apt-get update && apt-get install -y libclang-dev clang"]
Loading