Skip to content

fix workflow

fix workflow #7

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run clippy
run: cargo clippy --all-features
- name: Build tests crate
run: cd tests && cargo build
- name: Run c++ example
run: cd ./tests/cpp/ && ./test_cpp.sh
- name: cpp valgrind check
uses: Ximaz/valgrind-action@v1.2.0
with:
binary_path: "./tests/cpp/test"
- name: Run swift example
run: cd ./tests/swift/ && ./test_swift.sh