File tree Expand file tree Collapse file tree 2 files changed +45
-49
lines changed Expand file tree Collapse file tree 2 files changed +45
-49
lines changed Original file line number Diff line number Diff line change
1
+ name : C/C++ CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ build :
11
+
12
+ runs-on : ${{ matrix.os }}
13
+ strategy :
14
+ matrix :
15
+ os : [ubuntu-latest, macos-latest]
16
+ include :
17
+ - os : ubuntu-latest
18
+ BUILD_TOOLS_INSTALL : sudo apt install automake autoconf libtool libtool-bin libltdl-dev libltdl7
19
+ LIBXML2_INSTALL : sudo apt install libxml2 libxml2-dev libxslt1.1 libxslt1-dev
20
+ CRYPTO_LIBS_INSTALL : sudo apt install libssl1.0.0 libssl-dev libnspr4 libnspr4-dev libnss3 libnss3-dev libnss3-tools libgcrypt20 libgcrypt20-dev libgnutls28-dev
21
+ - os : macos-latest
22
+ BUILD_TOOLS_INSTALL : brew install automake autoconf libtool
23
+ LIBXML2_INSTALL : brew install libxml2 libxslt
24
+ CRYPTO_LIBS_INSTALL : brew install openssl libgcrypt gnutls
25
+
26
+ steps :
27
+ - uses : actions/checkout@v2
28
+ - name : install build tools
29
+ run : ${{matrix.BUILD_TOOLS_INSTALL}}
30
+ - name : install libxml2/libxslt
31
+ run : ${{matrix.LIBXML2_INSTALL}}
32
+ - name : install crypto libs
33
+ run : ${{matrix.CRYPTO_LIBS_INSTALL}}
34
+ - name : mkdir build
35
+ run : mkdir build
36
+ - name : configure
37
+ working-directory : build
38
+ run : ../autogen.sh --enable-werror
39
+ - name : make
40
+ working-directory : build
41
+ run : make
42
+ - name : make check
43
+ working-directory : build
44
+ run : make check
45
+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments