From 56cf595198608228ed213e669cb69addd4e77895 Mon Sep 17 00:00:00 2001 From: Bartosz Nowak Date: Sat, 25 Nov 2023 09:32:23 +0100 Subject: [PATCH] action --- .github/workflows/build&test@arcrunner.yml | 30 ++++++++++++++++++++++ README.md | 1 + 2 files changed, 31 insertions(+) create mode 100644 .github/workflows/build&test@arcrunner.yml diff --git a/.github/workflows/build&test@arcrunner.yml b/.github/workflows/build&test@arcrunner.yml new file mode 100644 index 0000000..4566b81 --- /dev/null +++ b/.github/workflows/build&test@arcrunner.yml @@ -0,0 +1,30 @@ +name: Rust build&test arcrunner + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + strategy: + matrix: + os: [arc-runner-set] + + runs-on: ${{ matrix.os }} + container: docker.io/rust:latest + + steps: + - name: Install + run: apt update && apt upgrade -y && apt install -y git build-essential cmake curl pkg-config libssl-dev libclang-dev + - uses: actions/checkout@v3 + with: + submodules: recursive + - name: Build + run: cargo build -vv + - name: Run tests + run: cargo test -vv \ No newline at end of file diff --git a/README.md b/README.md index 1b8ed94..24c5cf1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Swift-Bridge for `noir_rs` +![GitHub Workflow Status ArcRunner](https://github.com/visoftsolutions/noir_swift/actions/workflows/build&test@arcrunner.yml/badge.svg) ![GitHub Workflow Status Ubuntu](https://github.com/visoftsolutions/noir_swift/actions/workflows/build&test@ubuntu.yml/badge.svg) ![GitHub Workflow Status Macos](https://github.com/visoftsolutions/noir_swift/actions/workflows/build&test@macos.yml/badge.svg) ![Version](https://img.shields.io/badge/version-0.1.0-blue)