mirror of
https://github.com/3proxy/3proxy.git
synced 2025-04-19 02:32:09 +08:00
31 lines
770 B
YAML
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
|