forked from Sidatii/xpscan
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (32 loc) · 696 Bytes
/
Copy pathci.yaml
File metadata and controls
39 lines (32 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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