Skip to content

Commit

Permalink
CI using GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jessp01 authored and visit1985 committed May 4, 2024
1 parent 4197981 commit 4664cb2
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4664cb2

Please sign in to comment.