Skip to content

Commit 9abf341

Browse files
committed
[ci] Use as4 as runner
1 parent 1123375 commit 9abf341

2 files changed

Lines changed: 4 additions & 11 deletions

File tree

.github/scripts/setup-chipyard.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -exo pipefail
55
CACHE_HIT="${1:-false}"
66

77
# github runner knocks out with -jN>=4
8-
export MAKEFLAGS="-j3"
8+
export MAKEFLAGS="-j"
99

1010
cd "${CHIPYARD_DIR}"
1111

@@ -18,6 +18,3 @@ if [[ "${CACHE_HIT}" == "true" ]]; then
1818
else
1919
./build-setup.sh riscv-tools --skip-precompile --skip-firesim --skip-marshal
2020
fi
21-
22-
# don't break make RTL
23-
# unset MAKEFLAGS

.github/workflows/ci.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,24 @@ on:
77

88
jobs:
99
chipyard-setup:
10-
runs-on: ubuntu-latest
10+
runs-on: as4
1111

1212
defaults:
1313
run:
1414
# for conda activation
1515
shell: bash -el {0}
1616

1717
env:
18-
# CHIPYARD_DIR: ${{ github.workspace }}/chipyard
19-
WORKDIR: /mnt/work
20-
CHIPYARD_DIR: /mnt/work/chipyard
18+
CHIPYARD_DIR: ${{ github.workspace }}/chipyard
2119
# flip to force-reset cache
2220
CACHE_NUMBER: 0
2321

2422
steps:
2523
- name: Setup system
2624
run: |
27-
cat /proc/cpuinfo
25+
cat /proc/cpuinfo | tail -n20
2826
vmstat -SM
2927
df -h
30-
sudo mkdir -p "${WORKDIR}"
31-
sudo chown -R $USER:$USER "${WORKDIR}"
3228
3329
- name: Checkout
3430
uses: actions/checkout@v4

0 commit comments

Comments
 (0)