Skip to content

Commit

Permalink
Update CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jessp01 authored and visit1985 committed Jan 26, 2025
1 parent e8f0b34 commit 057a3f5
Showing 1 changed file with 23 additions and 14 deletions.
37 changes: 23 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Build CI

on: [push, pull_request]
Expand All @@ -7,21 +8,29 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
cc: [ gcc-10, gcc-11, clang-13, clang-14 ]
env:
compiler: [gcc-12, gcc-13, clang-17, clang-18]
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

- uses: actions/checkout@v3
- name: Install Dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -y \
build-essential \
clang-17 \
clang-18 \
gcc-12 \
gcc-13
- 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 057a3f5

Please sign in to comment.