build PDK in seperate job
diff --git a/.github/workflows/user_project_ci.yml b/.github/workflows/user_project_ci.yml
index 7dfd268..5fd51b9 100644
--- a/.github/workflows/user_project_ci.yml
+++ b/.github/workflows/user_project_ci.yml
@@ -8,7 +8,7 @@
workflow_dispatch:
jobs:
- build_pdk:
+ setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -22,11 +22,12 @@
- name: Export PDK ROOT
run: echo "PDK_ROOT=/usr/local/pdk" >> $GITHUB_ENV
- - name: Build PDK
+ - name: Install dependencies
run: |
sudo mkdir -p ${{ env.PDK_ROOT }}
sudo chown -R $USER:$USER ${{ env.PDK_ROOT }}
- make -j 1 NPROC=1 pdk
+ make install
+ make pdk
- name: Tarball PDK
run: |
@@ -42,6 +43,7 @@
mpw_precheck:
timeout-minutes: 720
runs-on: ubuntu-latest
+ needs: [setup]
steps:
- uses: actions/checkout@v2
@@ -86,6 +88,7 @@
user_project_flow:
timeout-minutes: 720
runs-on: ubuntu-latest
+ needs: [setup]
steps:
- uses: actions/checkout@v2