Skip to content

Commit

Permalink
Building gcc/Linux/x64 but ignoring emscripten_wrapper.hpp.
Browse files Browse the repository at this point in the history
  • Loading branch information
rturrado committed Nov 22, 2024
1 parent 7d8301a commit e471a5f
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/linters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v4
- name: Build C++ tests (gcc/Linux/x64)
uses: ./.github/actions/cpp-tests
with:
node-version: 16.20.2
- name: Install conan
run: |
pipx install conan
shell: bash
- name: Get latest CMake
uses: lukka/get-cmake@latest
# We clean the Conan cache as a preventive measure for our runs in self-hosted runners
# Self-hosted runners use containers that cache Conan packages from previous runs,
# and that can cause different type of problems
- name: Configure and build TS tests (clang/emscripten/wasm)
run: |
conan profile detect --force
conan remove -c "*/*"
conan build . -pr=conan/profiles/release-clang-emscripten-wasm -pr:b=conan/profiles/release -b missing
shell: bash
build_type: Release
conan_profile_host: conan/profiles/tests-release-gcc-linux-x64
shell: bash
- name: Run C++ linters
uses: cpp-linter/cpp-linter-action@v2
id: linter
Expand All @@ -42,6 +29,7 @@ jobs:
with:
database: '${{ github.workspace }}/build/Release'
extensions: 'cpp,hpp'
ignore: 'emscripten/emscripten_wrapper.hpp'
style: 'file' # use .clang-format config file
tidy-checks: '' # use .clang-tidy config file
version: 18
Expand Down

0 comments on commit e471a5f

Please sign in to comment.