mirror of
https://github.com/visit1985/mdp.git
synced 2024-11-22 06:22:50 +03:00
CI using GH Actions
This commit is contained in:
parent
41979819e7
commit
4664cb2611
27
.github/workflows/build.yml
vendored
Normal file
27
.github/workflows/build.yml
vendored
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user