We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent beb238b commit 43b262bCopy full SHA for 43b262b
.github/workflows/build.yml
@@ -0,0 +1,25 @@
1
+name: Compilation test
2
+
3
+on:
4
+ push:
5
+ branches: [ "master" ]
6
+ pull_request:
7
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
0 commit comments