Skip to content

Run tests on multiple operating systems #15

Run tests on multiple operating systems

Run tests on multiple operating systems #15

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: ["main"]
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Build SWT
run: CFLAGS="-Werror -Wall -Wextra -Wpedantic -Wno-unused-parameter" make
- name: Run tests
run: make -k check