ubuntu18 x86-64 #63
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ubuntu18.04 v9.0.0 build x86-64 | |
run-name: ubuntu18 x86-64 | |
# make GHA actions use node16 which still works with bionic | |
# See https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ | |
# Unclear how long this will work though | |
env: | |
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true | |
ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: "node16" | |
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: "node16" | |
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: Run on old node # https://github.com/actions/checkout/issues/1809 | |
# run: | | |
# apt update && apt -y install wget | |
# touch "$HOME/.bashrc" | |
# wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash | |
# export NVM_DIR="$HOME/.nvm" | |
# [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" | |
# nvm install 14.21.3 | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- 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)" |