EFIC-233 - update ci
diff --git a/.github/scripts/precheck/install-magic.sh b/.github/scripts/precheck/install-magic.sh
index e2ca62e..c88c90d 100644
--- a/.github/scripts/precheck/install-magic.sh
+++ b/.github/scripts/precheck/install-magic.sh
@@ -16,12 +16,14 @@
# By default build pdk since we don't need the other script for the main purpose
export TARGET_PATH=$(pwd)
+export MAGIC_ROOT=./magic
sudo apt-get install -y tcl tk tcl-dev tk-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev csh libncurses5-dev libncursesw5-dev libx11-dev
-export MAGIC_ROOT=./magic
-git clone --depth=1 --branch 8.3.263 https://github.com/RTimothyEdwards/magic.git ${MAGIC_ROOT}
+git clone --depth=1 --branch 8.3.265 https://github.com/RTimothyEdwards/magic.git ${MAGIC_ROOT}
cd $MAGIC_ROOT
-./configure --disable-locking --prefix=/build CFLAGS='-g -O0 -m64 -fPIC' && make -j4 && make install
+sudo ./configure --disable-locking --prefix=/build CFLAGS='-g -O0 -m64 -fPIC'
+sudo make -j4
+sudo make install
exit 0
diff --git a/.github/workflows/user_project_ci.yml b/.github/workflows/user_project_ci.yml
index c998bf2..ef6959c 100644
--- a/.github/workflows/user_project_ci.yml
+++ b/.github/workflows/user_project_ci.yml
@@ -1,12 +1,11 @@
name: CI
-
on:
- # Runs on Every Push
- push:
- # Runs on Pull Requests
- pull_request:
- workflow_dispatch:
+ # Runs on Every Push
+ push:
+ # Runs on Pull Requests
+ pull_request:
+ workflow_dispatch:
jobs:
precheck:
@@ -20,16 +19,16 @@
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
+
- name: Install Magic
run: sh ${GITHUB_WORKSPACE}/.github/scripts/precheck/install-magic.sh
-
+
- name: Install The Precheck
run: sh ${GITHUB_WORKSPACE}/.github/scripts/precheck/precheckBuild.sh
- name: Run The Precheck
run: bash ${GITHUB_WORKSPACE}/.github/scripts/precheck/run-precheck.sh
-
+
precheck-drc:
timeout-minutes: 720
runs-on: ubuntu-latest
@@ -41,58 +40,58 @@
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
+
- name: Install Magic
- run: sh ${GITHUB_WORKSPACE}/.github/scripts/precheck/install- magic.sh
-
+ run: sh ${GITHUB_WORKSPACE}/.github/scripts/precheck/install-magic.sh
+
- name: Install The Precheck
run: sh ${GITHUB_WORKSPACE}/.github/scripts/precheck/precheckBuild.sh
- name: Run The Precheck
run: bash ${GITHUB_WORKSPACE}/.github/scripts/precheck/run-precheck-drc.sh
-
+
dv_rtl:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
-
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v1
+ - uses: actions/checkout@v2
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v1
-
- - name: Install The PDK
- run: bash ${GITHUB_WORKSPACE}/.github/scripts/dv/pdkBuild.sh
- env:
+ - name: Set up QEMU
+ uses: docker/setup-qemu-action@v1
+
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v1
+
+ - name: Install The PDK
+ run: bash ${GITHUB_WORKSPACE}/.github/scripts/dv/pdkBuild.sh
+ env:
OPENLANE_TAG: 2021.11.25_01.26.14
-
- - name: Install The Dockerized DV Setup
- run: docker pull efabless/dv_setup:latest
-
- - name: Run DV tests
- # Run test number 0,1,2,3,4 in one job <test-ids> <sim-mode>
- run: bash ${GITHUB_WORKSPACE}/.github/scripts/dv/run-dv-wrapper.sh 0,1,2,3,4 RTL
+
+ - name: Install The Dockerized DV Setup
+ run: docker pull efabless/dv_setup:latest
+
+ - name: Run DV tests
+ # Run test number 0,1,2,3,4 in one job <test-ids> <sim-mode>
+ run: bash ${GITHUB_WORKSPACE}/.github/scripts/dv/run-dv-wrapper.sh 0,1,2,3,4 RTL
dv_gl:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
-
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v1
+ - uses: actions/checkout@v2
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v1
-
- - name: Install The PDK
- run: bash ${GITHUB_WORKSPACE}/.github/scripts/dv/pdkBuild.sh
- env:
+ - name: Set up QEMU
+ uses: docker/setup-qemu-action@v1
+
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v1
+
+ - name: Install The PDK
+ run: bash ${GITHUB_WORKSPACE}/.github/scripts/dv/pdkBuild.sh
+ env:
OPENLANE_TAG: 2021.11.25_01.26.14
-
- - name: Install The Dockerized DV Setup
- run: docker pull efabless/dv_setup:latest
-
- - name: Run DV tests
- # Run test number 0,1,2,3,4 in one job <test-ids> <sim-mode>
- run: bash ${GITHUB_WORKSPACE}/.github/scripts/dv/run-dv-wrapper.sh 0,1,2,3,4 GL
+
+ - name: Install The Dockerized DV Setup
+ run: docker pull efabless/dv_setup:latest
+
+ - name: Run DV tests
+ # Run test number 0,1,2,3,4 in one job <test-ids> <sim-mode>
+ run: bash ${GITHUB_WORKSPACE}/.github/scripts/dv/run-dv-wrapper.sh 0,1,2,3,4 GL