Skip to content

Commit 126c5da

Browse files
committed
Add simple workflow to generate Swift bindings in CI
We add a simple workflows to generate the Swift bindings in CI, ensuring the build is succeeding.
1 parent 1a134b4 commit 126c5da

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/swift.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI Checks - Swift Tests
2+
3+
on: [push, pull_request]
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
9+
jobs:
10+
check-swift:
11+
runs-on: macos-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Set default Rust version to stable
18+
run: rustup default stable
19+
20+
- name: Generate Swift bindings
21+
run: ./scripts/uniffi_bindgen_generate_swift.sh

0 commit comments

Comments
 (0)