From 29d7e37163faec3ff40a38abcebc095ddd7c3358 Mon Sep 17 00:00:00 2001 From: Dan Miller Date: Fri, 22 May 2026 09:24:41 -0700 Subject: [PATCH 1/3] fix(linux): bundle frostdart.so via frostdart_bundled_libraries --- linux/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/CMakeLists.txt b/linux/CMakeLists.txt index 75accab..1f93b4e 100644 --- a/linux/CMakeLists.txt +++ b/linux/CMakeLists.txt @@ -72,7 +72,7 @@ target_link_libraries(${PLUGIN_NAME} PRIVATE PkgConfig::GTK) # This list could contain prebuilt libraries, or libraries created by an # external build triggered from this build file. set(frostdart_bundled_libraries - "" + "${CMAKE_CURRENT_SOURCE_DIR}/../scripts/linux/build/frostdart.so" PARENT_SCOPE ) From 3bfd4096179d595560926827ad08c2bb33a303f1 Mon Sep 17 00:00:00 2001 From: Dan Miller Date: Fri, 22 May 2026 10:00:28 -0700 Subject: [PATCH 2/3] ci: run cargo test before builds --- .github/workflows/release.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6353051..784eb2a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,27 @@ on: jobs: + test: + runs-on: ubuntu-24.04 + container: + image: stackwallet/stackwallet-ci:latest + steps: + - uses: actions/checkout@v6 + with: + submodules: recursive + + - uses: Swatinem/rust-cache@v2 + with: + workspaces: src/serai + key: test + + - name: Run tests + run: | + cd src/serai + cargo +1.71.0 test + build-linux: + needs: test runs-on: ubuntu-24.04 container: image: stackwallet/stackwallet-ci:latest @@ -47,6 +67,7 @@ jobs: path: ${{ matrix.asset }} build-android: + needs: test runs-on: ubuntu-24.04 container: image: stackwallet/stackwallet-ci:latest @@ -88,6 +109,7 @@ jobs: path: frostdart-android-${{ matrix.abi }}.so build-windows: + needs: test runs-on: ubuntu-24.04 container: image: stackwallet/stackwallet-ci:latest @@ -116,6 +138,7 @@ jobs: path: frostdart-windows-x86_64.dll build-ios: + needs: test runs-on: macos-latest steps: - uses: actions/checkout@v6 @@ -147,6 +170,7 @@ jobs: path: frostdart-ios-aarch64.a build-macos: + needs: test runs-on: macos-latest steps: - uses: actions/checkout@v6 From 4714781b657204400ea949b1260374cffe1dfbb0 Mon Sep 17 00:00:00 2001 From: Dan Miller Date: Fri, 22 May 2026 10:09:33 -0700 Subject: [PATCH 3/3] ci: run cargo test, exclude bitcoin-serai integration test --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 784eb2a..927ea24 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: - name: Run tests run: | cd src/serai - cargo +1.71.0 test + cargo +1.71.0 test --workspace --exclude bitcoin-serai build-linux: needs: test