Highlight construct groupings #295
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: C++ Integration Tests (ubuntu-latest gcc 32-bit) | |
on: | |
pull_request: | |
push: | |
branches: main | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- id: support_32bit | |
run: sudo dpkg --add-architecture i386 && sudo apt update && sudo apt-get install gcc-multilib g++-multilib -y | |
- id: install_conan | |
uses: turtlebrowser/get-conan@main | |
with: | |
version: 1.65.0 | |
- id: patch_conan | |
run: conan profile new default --detect && conan profile update settings.compiler.libcxx=libstdc++11 default | |
- id: run_conan | |
run: cd ${GITHUB_WORKSPACE}/test && | |
export CFLAGS=-m32 && | |
export CXXFLAGS=-m32 && | |
export PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig && | |
conan install -e CXXFLAGS=-m32 --generator cmake_find_package --install-folder ../build_test/conan-dependencies . | |
- id: cmake | |
run: cd ${GITHUB_WORKSPACE}/test && | |
export CFLAGS=-m32 && | |
export CXXFLAGS=-m32 && | |
export PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig && | |
cmake -DCMAKE_BUILD_TYPE=Debug -B../build_test -S. | |
- id: make | |
run: cd ${GITHUB_WORKSPACE}/build_test && make | |
- id: run | |
run: cd ${GITHUB_WORKSPACE}/build_test && ./ForscapeTests |