Skip to content

[accless] Add C++ Wrappers For abe4 Library #10

[accless] Add C++ Wrappers For abe4 Library

[accless] Add C++ Wrappers For abe4 Library #10

Workflow file for this run

name: "Integration Tests"
on:
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, synchronize, reopened, ready_for_review]
defaults:
run:
shell: bash
# Cancel previous running actions for the same PR
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
checks:
if: github.event.pull_request.draft == false
runs-on: ubuntu-24.04
steps:
- name: "Checkout code"
uses: actions/checkout@v4
- name: "Install clang-format"
run: sudo apt install -y clang-format
- name: "Run formatting checks"
run: ./scripts/accli_wrapper.sh dev format-code
rust-unit-tests:
if: github.event.pull_request.draft == false
runs-on: ubuntu-24.04
steps:
- name: "Checkout code"
uses: actions/checkout@v4
- name: "Run Rust unit tests"
run: |
source ./scripts/workon.sh
cargo test
cpp-unit-tests:
if: github.event.pull_request.draft == false
runs-on: ubuntu-24.04
container:
image: ghcr.io/faasm/accless-experiments:0.8.1
steps:
- name: "Checkout code"
uses: actions/checkout@v4
- name: "Build C++ code"
run: python3 build.py
working-directory: accless
- name: "Run C++ unit tests"
run: ctest
working-directory: accless/build-native