File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+
11+ jobs :
12+ build-and-test :
13+ name : Build and Test
14+ runs-on : ${{ matrix.os }}
15+ strategy :
16+ fail-fast : false
17+ matrix :
18+ os : [ubuntu-latest]
19+
20+ steps :
21+ - name : Checkout code
22+ uses : actions/checkout@v4
23+
24+ - name : Install dependencies (Ubuntu)
25+ if : runner.os == 'Linux'
26+ run : |
27+ sudo apt-get update
28+ sudo apt-get install -y \
29+ libssl-dev \
30+ libsecp256k1-dev \
31+ autoconf \
32+ automake \
33+ libtool \
34+ pkg-config \
35+ autoconf-archive \
36+ cmake
37+
38+ - name : Build and install libaes_siv
39+ run : |
40+ git clone https://github.com/dfoxfranke/libaes_siv.git
41+ cd libaes_siv
42+ mkdir build && cd build
43+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
44+ make
45+ sudo make install
46+ sudo ldconfig
47+
48+ - name : Generate build system
49+ run : ./autogen.sh
50+
51+ - name : Configure (Ubuntu)
52+ if : runner.os == 'Linux'
53+ run : ./configure
54+
55+ - name : Build
56+ run : make
57+
58+ - name : Run tests
59+ run : make check
You can’t perform that action at this time.
0 commit comments