-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 770 Bytes
/
Copy pathc-cpp.yml
File metadata and controls
35 lines (31 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: C/C++ CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: zlib
run: sudo apt install zlib1g
- name: cryptopp
run: |
wget https://github.com/weidai11/cryptopp/releases/download/CRYPTOPP_8_6_0/cryptopp860.zip
unzip cryptopp860.zip -d cryptopp
cd cryptopp
make static dynamic cryptest.exe
./cryptest.exe v
sudo make install PREFIX=/usr/local
- name: configure submodules
run: git submodule update --init --remote
- name: make
run: make
- name: build
run: make build
- name: test
run: make test
- name: clean
run: make clean