mirror of
https://github.com/vsergeev/c-periphery.git
synced 2026-02-05 06:30:18 +08:00
30 lines
403 B
YAML
30 lines
403 B
YAML
name: Build
|
|
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
cc: [/usr/bin/gcc, /usr/bin/clang]
|
|
|
|
env:
|
|
CC: ${{ matrix.cc }}
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Build with make
|
|
run: make all tests
|
|
|
|
- name: Build with cmake
|
|
run: |
|
|
mkdir build
|
|
cd build
|
|
cmake ..
|
|
make
|