ci: add basic build workflow #1
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: build CI | |
on: | |
push: | |
branches: [ "8.0" ] | |
pull_request: | |
branches: [ "8.0" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: "centos:7" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Test | |
run: | | |
yum makecache | |
yum install -y centos-release-scl-rh centos-release-scl | |
yum install -y devtoolset-10-gcc devtoolset-10-gcc-c++ devtoolset-10-make | |
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 |