3proxy/.github/workflows/c-cpp.yml
Vladimir Dubrovin db7ef4ba2f
Update c-cpp.yml
2025-03-14 16:52:11 +03:00

31 lines
770 B
YAML

name: C/C++ CI
on:
push:
branches: [ "master" ]
paths: [ '**.c', '**.h', 'Makefile.**', '.github/configs', '.github/workflows/c-cpp.yml' ]
pull_request:
branches: [ "master" ]
paths: [ '**.c', '**.h', 'Makefile.**', '.github/configs', '.github/workflows/c-cpp.yml' ]
jobs:
ci:
name: "${{ matrix.target }}"
strategy:
matrix:
target:
- ubuntu-latest
runs-on: ${{ matrix.target }}
steps:
- uses: actions/checkout@v4
# - name: configure
# run: ./configure
- name: make
run: make -f Makefile.Linux
- name: mkdir
run: mkdir ~/3proxy
- name: make install
run: make DESTDIR=~/3proxy -f Makefile.Linux install
- name: make clean
run: make -f Makefile.Linux clean