File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 branches : [ "master" ]
77
88jobs :
9- build :
9+ linux :
1010 strategy :
1111 matrix :
1212 os : [ubuntu-24.04, ubuntu-22.04]
2525 run : make check
2626 - name : make distcheck
2727 run : make distcheck
28+
29+ macos :
30+ runs-on : macos-latest
31+ steps :
32+ - uses : actions/checkout@v3
33+ - name : install dependencies
34+ run : brew install pkg-config libtool autoconf automake groff
35+ - name : configure
36+ run : LSOF_INCLUDE=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include ./Configure -n darwin
37+ - name : make
38+ run : make -j 2
39+ - name : test
40+ run : bash ./check.bash darwin
41+ - name : autotools build
42+ run : |
43+ git clean -fdx .
44+ autoreconf -vif
45+ ./configure
46+ make
47+ DESTDIR=$PWD/prefix make install
48+ make check
49+ - name : dist build and test
50+ run : |
51+ make dist
52+ mkdir temp
53+ cd temp
54+ tar xvf ../lsof-*.tar.gz
55+ cd lsof-*
56+ ./configure
57+ make
58+ DESTDIR=$PWD/prefix make install
59+ make check
You can’t perform that action at this time.
0 commit comments