Skip to content

Merge pull request #5 from fszewczyk/neural-net #37

Merge pull request #5 from fszewczyk/neural-net

Merge pull request #5 from fszewczyk/neural-net #37

Workflow file for this run

name: Linux
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
name: ${{ matrix.conf.name }} - Build
runs-on: ${{ matrix.conf.os }}
strategy:
fail-fast: false
matrix:
conf:
- { name: "Ubuntu g++", os: ubuntu-latest, compiler: "g++" }
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build library
env:
CXX: ${{matrix.conf.compiler}}
run: |
g++ include/ShkyeraTensor.hpp --std=c++20
- name: Build examples
env:
CXX: ${{matrix.conf.compiler}}
run: |
g++ examples/algebra.cpp --std=c++20
g++ examples/dataset.cpp --std=c++20
- name: Test
env:
CXX: ${{matrix.conf.compiler}}
run: |
g++ tests/mainTest.cpp --std=c++20
./a.out