Skip to content

Commit 2cdd787

Browse files
committed
ci: run unit tests on macos
1 parent 3302de3 commit 2cdd787

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci-common.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,30 @@ jobs:
108108
- name: run ATECC608 unit tests
109109
run: (cd tools/atecc608; go test ./...)
110110

111+
unit-tests-macos:
112+
runs-on: macos-14
113+
steps:
114+
- name: Clone the repo
115+
uses: actions/checkout@v4
116+
with:
117+
fetch-depth: 0
118+
fetch-tags: true
119+
submodules: recursive
120+
121+
- name: cbindgen/bindgen
122+
run: brew install cbindgen bindgen
123+
124+
- name: protoc
125+
uses: arduino/setup-protoc@v3
126+
with:
127+
version: "21.x"
128+
129+
- name: rust
130+
uses: actions-rust-lang/setup-rust-toolchain@v1
131+
132+
- name: run rust unit-tests
133+
run: make run-rust-unit-tests
134+
111135
leakcheck:
112136
runs-on: ubuntu-22.04
113137
container: ${{ inputs.container-repo }}:${{ inputs.container-version }}

0 commit comments

Comments
 (0)