From d941d0b785339cc67c630baeb77b3da9024cc386 Mon Sep 17 00:00:00 2001 From: hikari_no_yume Date: Tue, 7 Nov 2023 20:04:12 +0100 Subject: [PATCH] Run linting script in CI Change-Id: I03278aab8ed25c777cd10b939c281b00028a6726 --- .github/workflows/touchHLE_release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/touchHLE_release.yml b/.github/workflows/touchHLE_release.yml index 7430ed7c99..d749f84535 100644 --- a/.github/workflows/touchHLE_release.yml +++ b/.github/workflows/touchHLE_release.yml @@ -22,6 +22,11 @@ jobs: run: git submodule update --init - name: Install Boost run: brew install boost + # This is the earliest point at which we can do linting: clippy will end up + # building dynarmic, which needs Boost, but we don't need LLVM until + # building tests. + - name: Lint + run: dev-scripts/lint.sh - name: Try to get cached copy of LLVM id: cache-llvm uses: actions/cache@v3 @@ -69,6 +74,12 @@ jobs: - if: ${{ steps.cache-boost.outputs.cache-hit != 'true' }} name: Extract Boost run: 7z -ovendor x boost_1_81_0.7z && ren vendor\boost_1_81_0 boost + # This is the earliest point at which we can do linting: clippy will end up + # building dynarmic, which needs Boost, but we don't need LLVM until + # building tests. + - name: Lint + shell: bash # no command output without this + run: dev-scripts/lint.sh - name: Try to get cached copy of LLVM id: cache-llvm uses: actions/cache@v3