Skip to content

Refactor folder structure #127

Refactor folder structure

Refactor folder structure #127

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
jobs:
test:
strategy:
matrix:
os: [macos-12, macos-14, windows-latest, ubuntu-latest]
include:
- os: macos-12
bin_path: ./build/stockprice
- os: macos-14
bin_path: ./build/stockprice
- os: windows-latest
bin_path: ./build/Release/stockprice.exe
- os: ubuntu-latest
bin_path: ./build/stockprice
runs-on: ${{ matrix.os }}
steps:
- name: Git clone the repository
uses: actions/checkout@v3
- name: build
run: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release
- name: test
run: |
${{ matrix.bin_path }} tsla,btc-usd