tipe/.github/workflows/tests.yml
Augustin deefbd59fb
Update tests.yml
Change gcc version
2022-11-03 12:40:06 +01:00

34 lines
677 B
YAML

name: Run tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
sudo apt update
sudo apt install gcc-10
shell: bash
- name: print versions
run: make --version; gcc --version
- name: run-tests
run: make run-tests
env:
CC: gcc-10
- name: mnist main train
run: build/mnist-main train
--epochs 1
--images data/mnist/t10k-images-idx3-ubyte
--labels data/mnist/t10k-labels-idx1-ubyte
--out mnist-reseau.bin
env:
CC: gcc-10