Skip to content

Changed target OS for GCC build CI workflow pipeline. #34

Changed target OS for GCC build CI workflow pipeline.

Changed target OS for GCC build CI workflow pipeline. #34

Workflow file for this run

name: GCC Build CI
on:
push:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Building example programs
run: |
mkdir -p dist
g++ -Isrc src/*.cpp -o dist/basic_example examples/basic_example/basic_example.cpp
g++ -Isrc src/*.cpp -o dist/model_training examples/model_training/model_training.cpp
- name: Run example programs
run: |
./dist/basic_example
./dist/model_training