Skip to content

Commit 3957652

Browse files
Merge pull request #24 from cypherstack/ci/cargo-test
Ci/cargo test
2 parents 79c94a9 + 4714781 commit 3957652

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,27 @@ on:
88

99
jobs:
1010

11+
test:
12+
runs-on: ubuntu-24.04
13+
container:
14+
image: stackwallet/stackwallet-ci:latest
15+
steps:
16+
- uses: actions/checkout@v6
17+
with:
18+
submodules: recursive
19+
20+
- uses: Swatinem/rust-cache@v2
21+
with:
22+
workspaces: src/serai
23+
key: test
24+
25+
- name: Run tests
26+
run: |
27+
cd src/serai
28+
cargo +1.71.0 test --workspace --exclude bitcoin-serai
29+
1130
build-linux:
31+
needs: test
1232
runs-on: ubuntu-24.04
1333
container:
1434
image: stackwallet/stackwallet-ci:latest
@@ -47,6 +67,7 @@ jobs:
4767
path: ${{ matrix.asset }}
4868

4969
build-android:
70+
needs: test
5071
runs-on: ubuntu-24.04
5172
container:
5273
image: stackwallet/stackwallet-ci:latest
@@ -88,6 +109,7 @@ jobs:
88109
path: frostdart-android-${{ matrix.abi }}.so
89110

90111
build-windows:
112+
needs: test
91113
runs-on: ubuntu-24.04
92114
container:
93115
image: stackwallet/stackwallet-ci:latest
@@ -116,6 +138,7 @@ jobs:
116138
path: frostdart-windows-x86_64.dll
117139

118140
build-ios:
141+
needs: test
119142
runs-on: macos-latest
120143
steps:
121144
- uses: actions/checkout@v6
@@ -147,6 +170,7 @@ jobs:
147170
path: frostdart-ios-aarch64.a
148171

149172
build-macos:
173+
needs: test
150174
runs-on: macos-latest
151175
steps:
152176
- uses: actions/checkout@v6

linux/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ target_link_libraries(${PLUGIN_NAME} PRIVATE PkgConfig::GTK)
7272
# This list could contain prebuilt libraries, or libraries created by an
7373
# external build triggered from this build file.
7474
set(frostdart_bundled_libraries
75-
""
75+
"${CMAKE_CURRENT_SOURCE_DIR}/../scripts/linux/build/frostdart.so"
7676
PARENT_SCOPE
7777
)
7878

0 commit comments

Comments
 (0)