Build script for *.deb packages for x86-64 and ARM (hf). #46
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: GCC Build CI | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest, macos-latest] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Building example programs | |
run: | | |
mkdir -p dist | |
g++ -std=c++17 -Isrc src/*.cpp -o dist/basic_example examples/basic_example/basic_example.cpp | |
g++ -std=c++17 -Isrc src/*.cpp -o dist/model_training examples/model_training/model_training.cpp | |
- name: Run example programs | |
run: | | |
./dist/basic_example | |
./dist/model_training |