Skip to content

Change license to MIT (#3) #17

Change license to MIT (#3)

Change license to MIT (#3) #17

Workflow file for this run

name: Compile code
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
if: matrix.os == 'windows-latest'
run: |
choco install mingw
- name: Build and run program
run: |
g++ -std=c++11 -o multiplication_tables ./src/multiplication_tables.cpp
echo 2 | ./multiplication_tables