Skip to content

Esolang Interpreters #2 - Custom Smallf*ck Interpreter (#11) #83

Esolang Interpreters #2 - Custom Smallf*ck Interpreter (#11)

Esolang Interpreters #2 - Custom Smallf*ck Interpreter (#11) #83

Workflow file for this run

---
name: Prepare, build and run tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
working-directory: ./build
run: |
cmake ..
cmake --build .
- name: Run tests
working-directory: ./build/test
run: ./cpp_katas_test --output=color
build-macos:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
working-directory: ./build
run: |
cmake ..
cmake --build .
- name: Run tests
working-directory: ./build/test
run: ./cpp_katas_test --output=color
build-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install needed software
run: |
choco install ninja
- name: Build
working-directory: ./build
run: |
cmake -G "Ninja" ..
cmake --build .
- name: Run tests
working-directory: ./build/test
run: .\cpp_katas_test.exe --output=color