From 520fd2280238a0fec4e4d532d5ad0f8c1d344363 Mon Sep 17 00:00:00 2001 From: Thomas Zeschg Date: Thu, 12 Feb 2026 13:33:01 +0100 Subject: [PATCH] chore: add test for rust bindings to CI --- .github/workflows/main.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 573380c..dafca1a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -80,3 +80,22 @@ jobs: - name: Test [user provided keys] run: | uta_reg_test key0.bin key1.bin + + test_uta_rust_bindings: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Build and install libuta + run: | + ./bootstrap + ./configure HARDWARE=UTA_SIM + make + sudo make install + sudo ldconfig + - name: Build rust bindings and run tests + run: | + cd libuta_rust + export LIBRARY_PATH=/usr/local/lib:$LIBRARY_PATH + cargo build + cargo test