fix: small refactor of stl container replacements #458
This file contains hidden or 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: gcc | |
on: | |
push: | |
tags: | |
- 'v*' | |
branches: | |
- 'main' | |
paths-ignore: | |
- LICENSE | |
- README.md | |
- 'docs/**' | |
- 'schemas/**' | |
pull_request: | |
paths-ignore: | |
- LICENSE | |
- README.md | |
- 'docs/**' | |
- 'schemas/**' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
build_type: [Release] | |
c_compiler: [gcc] | |
cpp_compiler: [g++] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup Visual Studio environment | |
uses: ilammy/msvc-dev-cmd@v1 | |
with: | |
arch: x64 | |
- name: Setup CMake | |
uses: lukka/get-cmake@latest | |
- name: Cache build dependencies | |
uses: actions/cache@v3 | |
with: | |
path: | | |
build/_deps | |
~/.vcpkg | |
~/.cache | |
key: ${{ runner.os }}-build-${{ hashFiles('**/CMakeLists.txt') }} | |
restore-keys: | | |
${{ runner.os }}-build- | |
- name: Configure CMake | |
shell: bash -el {0} | |
run: > | |
cmake -S . -B build -G Ninja | |
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} | |
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }} | |
- name: Build | |
shell: bash -el {0} | |
run: cmake --build build --target plugify --config ${{ matrix.build_type }} --parallel | |
# - name: Test | |
# shell: bash -el {0} | |
# working-directory: build | |
# run: ctest --build-config ${{ matrix.build_type }} |