Skip to content

Commit b0c73ff

Browse files
rootroot
authored andcommitted
[GAP9] Debugging CI
1 parent 0d1c1b7 commit b0c73ff

21 files changed

Lines changed: 168 additions & 97 deletions

.github/workflows/_runner-gap9-tiled.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,27 @@ jobs:
5656
uses: actions/checkout@v4
5757
with:
5858
submodules: recursive
59-
- name: Build Deeploy
60-
shell: bash
61-
run: pip install -e .
6259
- name: Cache ccache
6360
uses: actions/cache/restore@v4
6461
with:
6562
path: /app/.ccache
6663
key: ccache-ci
64+
- name: Cache pip packages
65+
uses: actions/cache@v4
66+
with:
67+
path: ~/.cache/pip
68+
key: ${{ runner.os }}-gap9-pip-${{ hashFiles('**/pyproject.toml', '**/requirements*.txt') }}
69+
restore-keys: |
70+
${{ runner.os }}-gap9-pip-
71+
- name: Build Deeploy
72+
shell: bash
73+
run: |
74+
# Activate GAP9 SDK environment first
75+
export LLVM_INSTALL_DIR=/app/install/llvm
76+
source /app/install/gap9-sdk/.gap9-venv/bin/activate
77+
source /app/install/gap9-sdk/configs/gap9_evk_audio.sh
78+
# Install Deeploy in the GAP9 venv
79+
pip install -e . --extra-index-url=https://pypi.ngc.nvidia.com
6780
- name: Run Test
6881
uses: nick-fields/retry@v3
6982
with:

.github/workflows/_runner-gap9.yml

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,46 @@ jobs:
2727
container:
2828
image: ${{ inputs.docker-image }}
2929
steps:
30+
- name: Free Disk Space (Ubuntu)
31+
if: ${{ inputs.runner == 'ubuntu-latest' }}
32+
uses: jlumbroso/free-disk-space@main
33+
with:
34+
tool-cache: true
35+
android: true
36+
dotnet: true
37+
haskell: true
38+
large-packages: true
39+
docker-images: true
40+
swap-storage: true
3041
- name: Checkout Repo
3142
uses: actions/checkout@v4
3243
with:
3344
submodules: recursive
34-
- name: Build Deeploy
35-
shell: bash
36-
run: pip install -e .
3745
- name: Cache ccache
3846
uses: actions/cache/restore@v4
3947
with:
4048
path: /app/.ccache
4149
key: ccache-ci
50+
- name: Cache pip packages
51+
uses: actions/cache@v4
52+
with:
53+
path: ~/.cache/pip
54+
key: ${{ runner.os }}-gap9-pip-${{ hashFiles('**/pyproject.toml', '**/requirements*.txt') }}
55+
restore-keys: |
56+
${{ runner.os }}-gap9-pip-
57+
- name: Build Deeploy
58+
shell: bash
59+
run: |
60+
# Activate GAP9 SDK environment first
61+
export LLVM_INSTALL_DIR=/app/install/llvm
62+
source /app/install/gap9-sdk/.gap9-venv/bin/activate
63+
source /app/install/gap9-sdk/configs/gap9_evk_audio.sh
64+
# Install Deeploy in the GAP9 venv
65+
pip install -e . --extra-index-url=https://pypi.ngc.nvidia.com
4266
- name: Run Test
4367
run: |
4468
# Activate GAP9 SDK environment
69+
export LLVM_INSTALL_DIR=/app/install/llvm
4570
source /app/install/gap9-sdk/.gap9-venv/bin/activate
4671
source /app/install/gap9-sdk/configs/gap9_evk_audio.sh
4772

.github/workflows/_runner-siracusa-tiled.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,17 @@ jobs:
5252
container:
5353
image: ${{ inputs.docker-image }}
5454
steps:
55+
- name: Free Disk Space (Ubuntu)
56+
if: ${{ inputs.runner == 'ubuntu-latest' }}
57+
uses: jlumbroso/free-disk-space@main
58+
with:
59+
tool-cache: true
60+
android: true
61+
dotnet: true
62+
haskell: true
63+
large-packages: true
64+
docker-images: true
65+
swap-storage: true
5566
- name: Checkout Repo
5667
uses: actions/checkout@v4
5768
with:

.github/workflows/_runner-siracusa.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,17 @@ jobs:
2727
container:
2828
image: ${{ inputs.docker-image }}
2929
steps:
30+
- name: Free Disk Space (Ubuntu)
31+
if: ${{ inputs.runner == 'ubuntu-latest' }}
32+
uses: jlumbroso/free-disk-space@main
33+
with:
34+
tool-cache: true
35+
android: true
36+
dotnet: true
37+
haskell: true
38+
large-packages: true
39+
docker-images: true
40+
swap-storage: true
3041
- name: Checkout Repo
3142
uses: actions/checkout@v4
3243
with:

.github/workflows/_runner-snitch.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,17 @@ jobs:
3030
container:
3131
image: ${{ inputs.docker-image }}
3232
steps:
33+
- name: Free Disk Space (Ubuntu)
34+
if: ${{ inputs.runner == 'ubuntu-latest' }}
35+
uses: jlumbroso/free-disk-space@main
36+
with:
37+
tool-cache: true
38+
android: true
39+
dotnet: true
40+
haskell: true
41+
large-packages: true
42+
docker-images: true
43+
swap-storage: true
3344
- name: Checkout Repo
3445
uses: actions/checkout@v4
3546
with:

.github/workflows/_select-env.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- id: set-runner
3333
shell: bash
3434
run: |
35-
if [[ "${{ github.repository }}" == "pulp-platform/Deeploy" ]]; then
35+
if [[ "${{ github.repository }}" == "pulp-platform/Deeploy" ]] || [[ "${{ github.repository }}" == "runwangdl/Deeploy" ]]; then
3636
echo "runner=self-hosted" >> "$GITHUB_OUTPUT"
3737
else
3838
echo "runner=ubuntu-latest" >> "$GITHUB_OUTPUT"

.github/workflows/ci-deeploy-testing.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
name: CI • Deeploy Testing
77

88
"on":
9-
push:
10-
branches:
11-
- "**"
12-
tags:
13-
- "v*.*.*"
14-
pull_request:
9+
# push:
10+
# branches:
11+
# - "**"
12+
# tags:
13+
# - "v*.*.*"
14+
# pull_request:
1515
workflow_dispatch:
1616
inputs:
1717
docker_image_deeploy:

.github/workflows/ci-deeploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
name: CI • Deeploy
77

88
"on":
9-
push:
10-
branches:
11-
- "**"
12-
tags:
13-
- "v*.*.*"
14-
pull_request:
9+
# push:
10+
# branches:
11+
# - "**"
12+
# tags:
13+
# - "v*.*.*"
14+
# pull_request:
1515
workflow_dispatch:
1616
inputs:
1717
docker_image_deeploy:

.github/workflows/ci-lint.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
name: CI • Lint & Licenses
77

88
"on":
9-
push:
10-
branches:
11-
- "**"
12-
tags:
13-
- "v*.*.*"
14-
pull_request:
9+
# push:
10+
# branches:
11+
# - "**"
12+
# tags:
13+
# - "v*.*.*"
14+
# pull_request:
1515
workflow_dispatch:
1616
inputs:
1717
docker_image_deeploy:

.github/workflows/ci-platform-chimera.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
name: CI • Chimera
77

88
"on":
9-
push:
10-
branches:
11-
- "**"
12-
tags:
13-
- "v*.*.*"
14-
pull_request:
9+
# push:
10+
# branches:
11+
# - "**"
12+
# tags:
13+
# - "v*.*.*"
14+
# pull_request:
1515
workflow_dispatch:
1616
inputs:
1717
docker_image_deeploy:

0 commit comments

Comments
 (0)