File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : Test Swift
2
+
3
+ # Tests the Swift bindings for bdk-ffi on macOS.
4
+ # Builds the Swift package and runs unit tests.
5
+ # Triggered by changes to bdk-ffi or bdk-swift directories, or manually via workflow_dispatch.
6
+
2
7
on :
3
8
workflow_dispatch :
4
9
push :
13
18
permissions : {}
14
19
15
20
jobs :
16
- build :
17
- name : " Build and test"
18
- runs-on : macos-13
21
+ test :
22
+ name : " Test Swift library"
23
+ runs-on : macos-14
24
+ defaults :
25
+ run :
26
+ working-directory : bdk-swift
27
+
19
28
steps :
20
29
- name : " Checkout"
21
30
uses : actions/checkout@v4
22
31
with :
23
32
persist-credentials : false
24
33
34
+ - name : " Set up Rust"
35
+ uses : actions-rust-lang/setup-rust-toolchain@v1
36
+
25
37
- name : " Build Swift package"
26
- working-directory : bdk-swift
27
38
run : bash ./build-xcframework.sh
28
39
29
40
- name : " Run Swift tests"
30
- working-directory : bdk-swift
31
41
run : swift test --filter Offline
You can’t perform that action at this time.
0 commit comments