byteswap.h is not present on macOS #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |