Skip to content

Fix tests and ci

Fix tests and ci #2

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
permissions:
checks: write
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
build-essential \
cmake \
libcriterion-dev
- name: Configure CMake
run: |
mkdir -p build
cd build
cmake ..
- name: Build
run: cmake --build build --target xpscan_tests
- name: Run tests
run: cd build && ./xpscan_tests