From 83287d7193b1f7971094f01bf33918738a3eda43 Mon Sep 17 00:00:00 2001 From: Philippe Tillet Date: Thu, 25 Aug 2022 19:12:16 -0700 Subject: [PATCH] [CI] enable self-hosted runner (#85) --- .github/workflows/integration-tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 17427a481..b9605d427 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -10,7 +10,7 @@ jobs: Integration-Tests: - runs-on: ubuntu-latest + runs-on: self-hosted steps: @@ -19,7 +19,7 @@ jobs: - name: Clear cache run: | - rm -r ~/.triton/ + rm -r ~/.triton/cache/ continue-on-error: true - name: Check imports @@ -34,7 +34,7 @@ jobs: - name: Check cpp style run: | - sudo apt-get install clang-format + sudo apt-get install -y clang-format find . -regex '.*\.\(cpp\|hpp\|h\|cc\)' -not -path "./python/build/*" -not -path "./include/triton/external/*" -print0 | xargs -0 -n1 clang-format -style=file --dry-run -Werror -i || (echo '::error title=Style issues:: Please run `find . -regex ".*\.\(cpp\|hpp\|h\|cc\)" -not -path "./python/build/*" -not -path "./include/triton/external/*" -print0 | xargs -0 -n1 clang-format -style=file -i`' ; exit 1) @@ -61,4 +61,4 @@ jobs: - name: Run python tests run: | cd python/tests - # pytest + pytest