Fix non-const instance::getValueFeature #244
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 and Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
name: ${{ matrix.config.name }} | |
runs-on: ${{ matrix.config.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- { | |
name: "Ubuntu_Latest_GCC", | |
os: ubuntu-latest, | |
build_type: "Debug", | |
targetFolder: "", | |
exeExtension: "", | |
cc: "gcc-11", | |
cxx: "g++-11" | |
} | |
- { | |
name: "Windows Latest MSVC", | |
os: windows-latest, | |
build_type: "Debug", | |
targetFolder: "Debug/", # Must match build_type. | |
exeExtension: ".exe", | |
cc: "cl", | |
cxx: "cl", | |
generators: "Visual Studio 16 2019" | |
} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install dependencies on ubuntu | |
if: startsWith(matrix.config.name, 'Ubuntu_Latest_GCC') | |
run: | | |
sudo apt-get update | |
sudo apt-get install cmake ${{ matrix.config.cc }} ${{ matrix.config.cxx }} libtbb-dev qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools | |
cmake --version | |
gcc --version | |
g++ --version | |
qtchooser -print-env | |
- name: Install CMake on Windows | |
if: startsWith(matrix.config.os, 'windows') | |
run: | | |
choco install cmake | |
- name: Install Qt on Windows | |
if: startsWith(matrix.config.os, 'windows') | |
uses: jurplel/install-qt-action@v2 | |
with: | |
version: '5.15.2' | |
host: 'windows' | |
setup-python: 'false' | |
- name: Configure CMake | |
run: | | |
cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} | |
env: | |
CC: ${{ matrix.config.cc }} | |
CXX: ${{ matrix.config.cxx }} | |
- name: Build | |
run: cmake --build build --config ${{ matrix.config.build_type }} | |
- name: CommonTest | |
working-directory: build | |
shell: bash | |
run: Tests/Common/${{ matrix.config.targetFolder }}commonTests${{ matrix.config.exeExtension }} | |
- name: BabelWiresTest | |
working-directory: build | |
shell: bash | |
run: Tests/BabelWiresLib/${{ matrix.config.targetFolder }}babelWiresTests${{ matrix.config.exeExtension }} |