Skip to content

ci: add basic build workflow #6

ci: add basic build workflow

ci: add basic build workflow #6

Workflow file for this run

name: build CI
on:
push:
branches: [ "8.0" ]
pull_request:
branches: [ "8.0" ]
jobs:
build:
runs-on: ubuntu-latest
env:
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
container:
image: centos:7
run: |

Check failure on line 18 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / build CI

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 18, Col: 7): Unexpected value 'run'
sed -i 's,^mirrorlist=,#,; s,^#baseurl=http://mirror\.centos\.org/centos/$releasever,baseurl=https://vault.centos.org/7.9.2009,' /etc/yum.repos.d/CentOS-Base.repo
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build Test
run: |
yum update
yum install -y git ncurses-devel bison cmake3 libaio-devel openssl openssl-devel cyrus-sasl-devel openldap-devel gtest libtirpc-devel
yum install -y centos-release-scl
yum install -y devtoolset-10-gcc devtoolset-10-gcc-c++ devtoolset-10-binutils
source /opt/rh/devtoolset-10/enable
gcc --version
curl -O --output-dir depend https://archives.boost.io/release/1.70.0/source/boost_1_70_0.tar.gz
tar xvzf depend/boost_1_70_0.tar.gz
./build.sh -b depend/boost_1_70_0 -D 1