Skip to content

Commit

Permalink
Merge branch 'main' of github.com:xmtp/libxmtp into dbg-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx committed Dec 13, 2024
2 parents c686f6c + 7c7dbdb commit 3a488c2
Show file tree
Hide file tree
Showing 166 changed files with 7,321 additions and 4,819 deletions.
2 changes: 2 additions & 0 deletions .cargo/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[profile.default]
retries = 3
2 changes: 1 addition & 1 deletion .github/workflows/release-node-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
build-linux:
runs-on: warp-ubuntu-latest-x64-16x
runs-on: warp-ubuntu-2204-x64-16x
strategy:
fail-fast: false
matrix:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-swift-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
- name: Build target
env:
CROSS_NO_WARNINGS: "0"
IPHONEOS_DEPLOYMENT_TARGET: 10
run: |
cross build --release --target ${{ matrix.target }} --manifest-path bindings_ffi/Cargo.toml
- name: Upload binary
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-ffi-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ jobs:
- name: Run cargo nextest on FFI bindings
run: |
export CLASSPATH="${{ env.CLASSPATH }}"
cargo nextest run --manifest-path bindings_ffi/Cargo.toml --test-threads 2
cargo nextest --config-file ".cargo/nextest.toml" run --manifest-path bindings_ffi/Cargo.toml --test-threads 2
4 changes: 2 additions & 2 deletions .github/workflows/test-webassembly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
- "rust-toolchain"
env:
CARGO_TERM_COLOR: always
WASM_BINDGEN_TEST_TIMEOUT: 120
WASM_BINDGEN_TEST_TIMEOUT: 180
WASM_BINDGEN_TEST_ONLY_WEB: 1
WASM_BINDGEN_SPLIT_LINKED_MODULES: 1
jobs:
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Start Docker containers
run: dev/up
- name: Build WebAssembly Packages
run: cargo build --tests --release --target wasm32-unknown-unknown -p xmtp_id -p xmtp_mls -p xmtp_api_http -p xmtp_cryptography
run: cargo build --tests --release --target wasm32-unknown-unknown -p xmtp_id -p xmtp_mls -p xmtp_api_http -p xmtp_cryptography -p xmtp_common
- name: test with chrome
run: |
cargo test --release --target wasm32-unknown-unknown -p xmtp_mls -p xmtp_id -p xmtp_api_http -p xmtp_cryptography -- \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ jobs:
- name: Install nextest
uses: taiki-e/install-action@nextest
- name: build tests
run: cargo nextest run --no-run --workspace --tests --exclude xmtpv3 --exclude bindings_node --exclude bindings_wasm
run: cargo nextest --config-file ".cargo/nextest.toml" run --no-run --workspace --tests --exclude xmtpv3 --exclude bindings_node --exclude bindings_wasm
- name: cargo test
run: cargo nextest run --workspace --test-threads 2 --exclude xmtpv3 --exclude bindings_node --exclude bindings_wasm
run: cargo nextest --config-file ".cargo/nextest.toml" run --workspace --test-threads 2 --exclude xmtpv3 --exclude bindings_node --exclude bindings_wasm
Loading

0 comments on commit 3a488c2

Please sign in to comment.