build(deps): bump Raptor_Tools from 0385745
to d3e9e4b
#1324
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 Compatibility | |
# Only run for pull requests as we care contribution to the master | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
linux-gcc: | |
runs-on: ubuntu-latest | |
# Branch on different OS and settings | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- name: "Build Compatibility: GCC-11 (Ubuntu 18.04)" | |
cc: gcc-11 | |
cxx: g++-11 | |
# Define the steps to run the build job | |
env: | |
CC: ${{ matrix.config.cc }} | |
CXX: ${{ matrix.config.cxx }} | |
steps: | |
- name: Cancel previous | |
uses: styfle/cancel-workflow-action@0.11.0 | |
with: | |
access_token: ${{ github.token }} | |
- name: Runner workspace path | |
run: | | |
echo "Cleaning up previous run" | |
rm -rf "${{ github.workspace }}" | |
mkdir -p "${{ github.workspace }}" | |
- name: Checkout code | |
uses: actions/checkout@v3.2.0 | |
with: | |
fetch-depth: 0 | |
submodules: true | |
- name: Checkout submodule | |
run: | | |
make checkout | |
- name: Install dependencies | |
run: | | |
sudo .github/workflows/install_ubuntu_dependencies_build.sh | |
- name: Build | |
run: | | |
make release PRODUCTION_BUILD=1 | |
centos7-gcc: | |
runs-on: ubuntu-latest | |
container: | |
image: centos:7 | |
defaults: | |
run: | |
shell: bash | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- name: "Build Compatibility: GCC-11 (CentOs)" | |
cc: gcc-11 | |
cxx: g++-11 | |
# Define the steps to run the build job | |
env: | |
CC: ${{ matrix.config.cc }} | |
CXX: ${{ matrix.config.cxx }} | |
steps: | |
- name: Cancel previous | |
uses: styfle/cancel-workflow-action@0.11.0 | |
with: | |
access_token: ${{ github.token }} | |
- name: Install ssh-agent | |
run: | | |
yum install -y openssh-server openssh-clients | |
yum-config-manager --enable rhel-server-rhscl-7-rpms | |
yum install -y https://repo.ius.io/ius-release-el7.rpm | |
yum install -y centos-release-scl | |
yum install -y devtoolset-11 | |
yum install -y devtoolset-11-toolchain | |
yum remove -y git* | |
yum install -y https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm | |
yum install -y git | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
bash .github/workflows/install_centos_dependencies_build.sh | |
- name: Show shell configuration | |
run: | | |
env | |
source /opt/rh/devtoolset-11/enable | |
which gcc | |
which g++ | |
- name: Configure shell | |
run: | | |
source /opt/rh/devtoolset-11/enable | |
echo 'CC=/opt/rh/devtoolset-11/root/usr/bin/gcc' >> $GITHUB_ENV | |
echo 'CXX=/opt/rh/devtoolset-11/root/usr/bin/g++' >> $GITHUB_ENV | |
echo 'PATH=/usr/local/Qt-5.15.0/bin:/usr/lib/ccache:'"$PATH" >> $GITHUB_ENV | |
echo 'PREFIX=/tmp/raptor_gui-install' >> $GITHUB_ENV | |
echo "$PREFIX" >> $GITHUB_PATH | |
echo "ADDITIONAL_CMAKE_OPTIONS='-DMY_CXX_WARNING_FLAGS="-W -Wall -Wextra -Wno-unused-parameter -Wno-unused-variable -Werror -UNDEBUG"'" >> $GITHUB_ENV | |
echo 'RULE_MESSAGES=off' >> $GITHUB_ENV | |
echo 'LC_ALL=en_US.utf-8' >> $GITHUB_ENV | |
echo 'LANG=en_US.utf-8' >> $GITHUB_ENV | |
- name: Configure git | |
run: | | |
git config --global --add safe.directory $GITHUB_WORKSPACE | |
- name: Checkout submodule | |
run: | | |
make checkout | |
- name: Build | |
run: | | |
make release PRODUCTION_BUILD=1 |