Skip to content

Commit 3ea12e7

Browse files
committed
ci: delete cpu pipeline
1 parent 36a4776 commit 3ea12e7

File tree

2 files changed

+13
-112
lines changed

2 files changed

+13
-112
lines changed

.github/workflows/self-hosted-cpu.yaml

Lines changed: 0 additions & 103 deletions
This file was deleted.

.github/workflows/self-hosted-gpu.yml renamed to .github/workflows/self-hosted.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ jobs:
2424
gcc: 13
2525

2626
steps:
27-
- name: Cleanup workspace
28-
run: |
29-
rm -rf ${{ github.workspace }}/*
30-
rm -rf ${{ github.workspace }}/.*
31-
3227
- uses: actions/checkout@v4
3328
with:
3429
submodules: recursive
@@ -67,8 +62,7 @@ jobs:
6762
- name: Run unit-tests
6863
working-directory: ${{ env.build_dir }}
6964
run: |
70-
chmod +x scripts/run_tests_all.sh
71-
./scripts/run_tests_all.sh | tee ${{ env.unit-test-file }}
65+
source scripts/run_tests_all.sh | tee ${{ env.unit-test-file }}
7266
7367
- name: Upload unit tests resutls
7468
uses: actions/upload-artifact@v4
@@ -86,8 +80,7 @@ jobs:
8680
- name: Run regression-tests
8781
working-directory: ${{ env.build_dir }}/python
8882
run: |
89-
chmod +x run_tests.sh
90-
./run_tests.sh | tee ${{ env.regression-test-file }}
83+
source run_tests.sh | tee ${{ env.regression-test-file }}
9184
9285
- name: Upload regression tests resutls
9386
uses: actions/upload-artifact@v4
@@ -101,3 +94,14 @@ jobs:
10194
if grep -q "FAILED" ${{ env.regression-test-file }}; then
10295
exit 1
10396
fi
97+
98+
clean:
99+
name: Cleanup workspace
100+
if: always()
101+
runs-on: self-hosted
102+
103+
steps:
104+
- name: Cleanup workspace
105+
run: |
106+
rm -rf ${{ github.workspace }}/*
107+
rm -rf ${{ github.workspace }}/.*

0 commit comments

Comments
 (0)