Skip to content

Fix typo

Fix typo #889

Workflow file for this run

name: lint
on:
push:
branches:
- 'main'
- 'dev**'
pull_request:
branches:
- 'main'
env:
BUILD_TYPE: Release
TARGET_ARCH: linux64
CXX: clang++
CC: clang
jobs:
lint:
name: lint
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
systemc: [2.3.3]
env:
SYSTEMC_HOME: ${{github.workspace}}/systemc/${{matrix.systemc}}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup Dependencies
run: |
sudo apt-get update -y -qq
sudo apt-get install libelf-dev libsdl2-dev liblua5.3-dev libvncserver-dev libslirp-dev ninja-build clang-tidy
- name: Cache SystemC
id: cache-systemc
uses: actions/cache@v4
with:
path: ${{github.workspace}}/systemc
key: cache-systemc-${{matrix.systemc}}-${{runner.arch}}-${{runner.name}}-clang-tidy
- name: Download SystemC
if: steps.cache-systemc.outputs.cache-hit != 'true'
run: ./utils/setup-systemc -p ${{github.workspace}} -v ${{matrix.systemc}}
- name: Configure
run: cmake -G Ninja -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DVCML_BUILD_TESTS=ON -DVCML_LINTER=clang-tidy
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j $(nproc)