2022-05-14 10:40:06 +02:00
|
|
|
name: Run tests
|
2022-04-10 21:35:29 +02:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ main ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2022-10-24 14:11:59 +02:00
|
|
|
- name: print versions
|
|
|
|
run: make --version; gcc --version
|
2022-10-24 12:54:51 +02:00
|
|
|
- name: run-tests
|
|
|
|
run: make run-tests
|
|
|
|
- name: mnist main train
|
|
|
|
run: build/mnist-main train
|
2022-05-23 12:20:29 +02:00
|
|
|
--epochs 1
|
|
|
|
--images data/mnist/t10k-images-idx3-ubyte
|
|
|
|
--labels data/mnist/t10k-labels-idx1-ubyte
|
2022-10-24 12:54:51 +02:00
|
|
|
--out mnist-reseau.bin
|