-
Notifications
You must be signed in to change notification settings - Fork 1
56 lines (52 loc) · 1.37 KB
/
dataset_tests.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Dataset tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
unit-tests:
name: Build and run
runs-on: ubuntu-latest
steps:
- name: Checkout projet
uses: actions/checkout@v2
- name: Checkout datasets
uses: actions/checkout@v2
with:
repository: MatthieuHernandez/Datasets-for-Machine-Learning
path: ./build/datasets
- name: CMake
run: |
cd ./build
CC=gcc-10 CXX=/usr/bin/g++-10 cmake -G"Unix Makefiles" ./.. -DCMAKE_BUILD_TYPE=Release
- name: make
run: |
cd ./build
make
- name: Iris
run: |
cd ./build
./tests/dataset_tests/DatasetTests --gtest_filter=IrisTest*
- name: Wine
run: |
cd ./build
./tests/dataset_tests/DatasetTests --gtest_filter=WineTest*
- name: DailyMinTemperatures
run: |
cd ./build
./tests/dataset_tests/DatasetTests --gtest_filter=DailyMinTemperaturesTest*
- name: MNIST
run: |
cd ./build
./tests/dataset_tests/DatasetTests --gtest_filter=MnistTest*
- name: Fashion MNIST
run: |
cd ./build
./tests/dataset_tests/DatasetTests --gtest_filter=FashionMnistTest*
- name: CIFAR-10
run: |
cd ./build
./tests/dataset_tests/DatasetTests --gtest_filter=Cifar10Test*