-
Notifications
You must be signed in to change notification settings - Fork 80
42 lines (36 loc) · 1.06 KB
/
ubuntu18-v9.0.0-build.yaml
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
36
37
38
39
40
41
42
name: ubuntu18.04 v9.0.0 build x86-64
run-name: ubuntu18 x86-64
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
on:
push:
branches:
- v9.0.0
pull_request:
branches:
- v9.0.0
jobs:
build-amd-ubuntu18:
runs-on: ubuntu-latest
container:
image: docker://ubuntu:18.04
# options: --volume ${{ github.workspace }}:/workspace/${{ github.repository }}
steps:
- name: Check out repository code
uses: actions/checkout@v1 # https://github.com/actions/checkout/issues/1590
with:
fetch-depth: 1
- name: Install
env:
DEBIAN_FRONTEND: noninteractive
run: |
apt update
apt install -y lsb-release git wget pkg-config g++ cmake uuid-dev libncurses5-dev python3-dev
python3 install.py
- name: Build
run: |
echo "-----------------------"
uname -a
lsb_release -a
echo "-----------------------"
bash -c "source install/setup.bash && mkdir -p build && cd build && cmake .. && make -j$(nproc)"