Commit 43b262b 1 parent beb238b commit 43b262b Copy full SHA for 43b262b
File tree 1 file changed +25
-0
lines changed
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Compilation test
2
+
3
+ on :
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : install-deps
14
+ uses : awalsh128/cache-apt-pkgs-action@latest
15
+ with :
16
+ packages : binutils cmake doxygen g++ libcppunit-dev libgnutls28-dev libgsasl7-dev libgtk-3-dev libssl-dev make pkg-config
17
+ version : 1.2
18
+ - name : clone-vmime
19
+ uses : actions/checkout@v3
20
+ - name : buildall
21
+ run : |
22
+ set -x
23
+ lscpu -b --online --parse | grep -v '^#' | wc -l >/tmp/ncpus
24
+ cmake . -DVMIME_SENDMAIL_PATH:STRING="/usr/sbin/sendmail" -DVMIME_HAVE_TLS_SUPPORT:BOOL=ON -DVMIME_BUILD_TESTS=ON -DVMIME_BUILD_SAMPLES=ON && make "-j$(cat /tmp/ncpus)" && sudo make install
25
+ make test
You can’t perform that action at this time.
0 commit comments