Skip to content

Try running both gcc and clang in actions #12

Try running both gcc and clang in actions

Try running both gcc and clang in actions #12

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
cc: [clang, gcc]
steps:
- uses: actions/checkout@v4
- name: Install check
run: sudo apt-get install check
- name: Build scsniff
run: make
env:
CC: ${{matrix.cc}}
- name: Build and run tests
run: make check
env:
CC: ${{matrix.cc}}