From b1b64972c56f45db4a6066231b3bf3daaf6c3b7b Mon Sep 17 00:00:00 2001 From: Vladimir Dubrovin <3proxy@3proxy.ru> Date: Fri, 14 Mar 2025 17:02:05 +0300 Subject: [PATCH] Update c-cpp.yml add more targets --- .github/workflows/c-cpp.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index bf1b28b..421ebc7 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -15,16 +15,24 @@ jobs: matrix: target: - ubuntu-latest + - ubuntu-24.04-arm + - macos-15 runs-on: ${{ matrix.target }} steps: - uses: actions/checkout@v4 # - name: configure # run: ./configure + - name: ln Linux + if: ${{ startsWith(matrix.target, 'ubuntu') }} + run: ln -s Makefile.Linux Makefile + - name: ln Mac + if: ${{ startsWith(matrix.target, 'macos') }} + run: ln -s Makefile.FreeBSD Makefile - name: make - run: make -f Makefile.Linux + run: make -f Makefile - name: mkdir run: mkdir ~/3proxy - name: make install - run: make DESTDIR=~/3proxy -f Makefile.Linux install + run: make DESTDIR=~/3proxy -f Makefile install - name: make clean - run: make -f Makefile.Linux clean + run: make -f Makefile clean