mirror of
https://github.com/3proxy/3proxy.git
synced 2026-06-02 22:40:12 +08:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
37 lines
971 B
YAML
37 lines
971 B
YAML
name: C/C++ CI Linux
|
|
|
|
on:
|
|
push:
|
|
paths: [ '**.c', '**.h', 'Makefile.Linux', '.github/configs', '.github/workflows/c-cpp-Linux.yml' ]
|
|
pull_request:
|
|
paths: [ "**.c", "**.h", "Makefile.Linux", ".github/configs", ".github/workflows/c-cpp-Linux.yml" ]
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
ci:
|
|
name: "${{ matrix.target }}"
|
|
strategy:
|
|
matrix:
|
|
target:
|
|
- ubuntu-latest
|
|
- ubuntu-24.04-arm
|
|
runs-on: ${{ matrix.target }}
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
# - name: configure
|
|
# run: ./configure
|
|
- name: Linux libraries
|
|
if: ${{ startsWith(matrix.target, 'ubuntu') }}
|
|
run: sudo apt install libssl-dev libpam-dev libpcre2-dev
|
|
- name: make
|
|
run: make -f Makefile.Linux
|
|
- name: mkdir
|
|
run: mkdir ~/3proxy
|
|
- name: make install
|
|
run: make -f Makefile.Linux DESTDIR=~/3proxy install
|
|
- name: make clean Linux
|
|
run: make -f Makefile.Linux clean
|