-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (24 loc) · 991 Bytes
/
unit_testing.yml
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
name: Test suite
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
unit_testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Downloading criterion package
run: sudo wget https://github.com/Snaipe/Criterion/releases/download/v2.3.3/criterion-v2.3.3-linux-x86_64.tar.bz2 -O /tmp/criterion.tar.bz2
- name: Initializing tmp directory
run: sudo mkdir -p /tmp/criterion
- name: Extracting criterion package
run: sudo tar -xjf /tmp/criterion.tar.bz2 -C /tmp/criterion
- name: Installing criterion package
run: sudo cp -r /tmp/criterion/criterion-v2.3.3/share/* /usr/local/share &&
sudo cp -r /tmp/criterion/criterion-v2.3.3/lib/* /usr/local/lib &&
sudo cp -r /tmp/criterion/criterion-v2.3.3/lib/* /usr/lib &&
sudo cp -r /tmp/criterion/criterion-v2.3.3/include/* /usr/local/include
- name: make check
run: make check