Skip to content

ubuntu18 x86-64

ubuntu18 x86-64 #44

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@v3
- 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
cd /workspace/${{ github.repository }} && python3 install.py
- name: Build
run: |
echo "-----------------------"
uname -a
lsb_release -a
echo "-----------------------"
bash -c "cd /workspace/${{ github.repository }} && source install/setup.bash && mkdir -p build && cd build && cmake .. && make -j$(nproc)"