[CI] enable self-hosted runner (#85)
This commit is contained in:
8
.github/workflows/integration-tests.yml
vendored
8
.github/workflows/integration-tests.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
|||||||
|
|
||||||
Integration-Tests:
|
Integration-Tests:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: self-hosted
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Clear cache
|
- name: Clear cache
|
||||||
run: |
|
run: |
|
||||||
rm -r ~/.triton/
|
rm -r ~/.triton/cache/
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Check imports
|
- name: Check imports
|
||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check cpp style
|
- name: Check cpp style
|
||||||
run: |
|
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 ||
|
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)
|
(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
|
- name: Run python tests
|
||||||
run: |
|
run: |
|
||||||
cd python/tests
|
cd python/tests
|
||||||
# pytest
|
pytest
|
||||||
|
Reference in New Issue
Block a user