Skip to content

Replaces expect in windows test action #72

Replaces expect in windows test action

Replaces expect in windows test action #72

Workflow file for this run

name: Linter
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
# Set fail-fast to false to ensure that feedback is delivered for all
# matrix combinations. Consider changing this to true when your workflow
# is stable.
fail-fast: false
matrix:
os: [ubuntu-latest]
build_type: [Debug]
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v3.0.1
with:
auto-activate-base: false
environment-file: environment-linter.yml
activate-environment: ll-cpp-linter
miniforge-version: latest
use-mamba: true
channels: conda-forge
- name: Configure CMake
shell: bash -el {0}
run: >
cmake -B build
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-DBUILD_TESTS=ON
-DENABLE_LINTING=ON
- name: Build
shell: bash -el {0}
run: cmake --build build --config ${{ matrix.build_type }}