Skip to content

fix clang compile error: object expression of non-scalar type cannot … #9

fix clang compile error: object expression of non-scalar type cannot …

fix clang compile error: object expression of non-scalar type cannot … #9

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update && sudo apt install -y build-essential uuid-dev libssl-dev libsecp256k1-dev
- name: Build
run: |
make -C src
- name: Build tests
run: |
make -C test
- name: Run Tests
run: |
make run-tests
cmake-test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update && sudo apt install -y build-essential cmake pkg-config uuid-dev libssl-dev
- name: Configure
run: |
mkdir build && cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
- name: Build
run: |
cmake --build build -j $(nproc)
- name: Run Tests
run: |
cd build && ctest --output-on-failure