CI using GH Actions

This commit is contained in:
Jesse Portnoy 2023-09-09 17:13:50 +01:00 committed by Michael Göhler
parent 41979819e7
commit 4664cb2611

27
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: Build CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
cc: [ gcc-10, gcc-11, clang-13, clang-14 ]
env:
PREFIX: /usr/local/bin
CC: ${{ matrix.cc }}
steps:
- uses: actions/checkout@v3
- name: CC ver
run: ${CC} -v
- name: make
run: make
- name: make install
run: sudo make install
- name: ldd
run: ldd $PREFIX/mdp
- name: version
run: $PREFIX/mdp -v