2020-07-31 13:50:27 +00:00
|
|
|
name: C/C++ CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-07-31 14:15:50 +00:00
|
|
|
- name: Build bddisasm and bdshemu
|
2020-07-31 13:50:27 +00:00
|
|
|
run: make -j$(nproc)
|
2020-07-31 14:15:50 +00:00
|
|
|
- name: Install rapidjson
|
|
|
|
uses: actions/checkout@master
|
|
|
|
with:
|
|
|
|
repository: Tencent/rapidjson
|
2020-07-31 14:17:46 +00:00
|
|
|
path: rapidjson
|
2020-07-31 14:15:50 +00:00
|
|
|
- name: Build dependencies
|
|
|
|
run: |
|
|
|
|
cd rapidjson
|
|
|
|
mkdir _build
|
|
|
|
cd _build
|
|
|
|
cmake ..
|
|
|
|
make -j$(nproc)
|
|
|
|
sudo make install
|
|
|
|
cd ..
|
|
|
|
cd ..
|
|
|
|
- name: Build disasmtool_lix
|
|
|
|
run: |
|
|
|
|
cd disasmtool_lix
|
|
|
|
mkdir _build
|
|
|
|
cd _build
|
|
|
|
cmake ..
|
|
|
|
make -j$(nproc)
|
|
|
|
cd ..
|
|
|
|
cd ..
|
|
|
|
|