Merge pull request #62 from MatthieuHernandez/Improve_Data #414
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: Dataset tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
unit-tests: | |
name: Build and run | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up GCC | |
uses: egor-tensin/setup-gcc@v1.3 | |
with: | |
version: 13 | |
platform: x64 | |
- 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 | |
CXX=/usr/bin/g++-13 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* | |