Release lsof version 4.99.6 #629
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: C/C++ CI | |
| on: | |
| push: | |
| pull_request: | |
| branches: [ "master" ] | |
| jobs: | |
| linux: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-24.04, ubuntu-22.04] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: install dependencies | |
| run: sudo apt install -y pkg-config | |
| - name: autoconf | |
| run: autoreconf -vif | |
| - name: configure | |
| run: ./configure | |
| - name: make | |
| run: make | |
| - name: make check | |
| run: make check | |
| - name: make distcheck | |
| run: make distcheck | |
| macos: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: install dependencies | |
| run: brew install pkg-config libtool autoconf automake groff | |
| - name: configure | |
| run: LSOF_INCLUDE=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include ./Configure -n darwin | |
| - name: make | |
| run: make -j 2 | |
| - name: test | |
| run: bash ./check.bash darwin | |
| - name: autotools build | |
| run: | | |
| git clean -fdx . | |
| autoreconf -vif | |
| ./configure | |
| make | |
| DESTDIR=$PWD/prefix make install | |
| make check | |
| - name: dist build and test | |
| run: | | |
| make dist | |
| mkdir temp | |
| cd temp | |
| tar xvf ../lsof-*.tar.gz | |
| cd lsof-* | |
| ./configure | |
| make | |
| DESTDIR=$PWD/prefix make install | |
| make check |