Skip to content

Commit

Permalink
CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
donn committed Nov 26, 2023
1 parent 1e2aa7e commit 3b5ff86
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,19 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install OpenLane
- name: Setup
run: |
python3 -m pip install -e .
echo "BRANCH_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: Download Metrics
uses: actions/download-artifact@v3
with:
name: metrics
path: current
- name: Check extracted
run: find current
- name: Get Main Metrics
if: ${{ github.event_name == 'pull_request' }}
run: |
export GH_TOKEN=${{ github.token }} # Read-only for a public repo, CI token should be fine
sudo apt install -y jq
Expand All @@ -270,11 +279,6 @@ jobs:
mkdir -p gold
echo "Curling '$TARBALL_URL'…"
curl -L $TARBALL_URL | tar -xzvC gold
- name: Download Metrics
uses: actions/download-artifact@v3
with:
name: current
path: ${{ matrix.design.name }}-${{ matrix.design.pdk }}-${{ matrix.design.scl }}.metrics.json
- uses: actions/github-script@v6
if: ${{ github.event_name == 'pull_request' }}
with:
Expand All @@ -288,7 +292,7 @@ jobs:
repo: context.repo.repo,
body: table
})
# TODO: UPLOAD METRICS
publish:
runs-on: ubuntu-22.04
needs: [
Expand Down

0 comments on commit 3b5ff86

Please sign in to comment.