Skip to content

Commit d557016

Browse files
Upload artifacts
1 parent 46c69d8 commit d557016

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/build.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,13 @@ jobs:
3232
- name: Update pip reqs
3333
run : python3 -m pip install --upgrade -r tools/requirements.txt --break-system-packages
3434
- name: buck path
35-
run: echo "~/.cargo/bin" >> "$GITHUB_PATH"
35+
run: echo "~/.cargo/bin;/opt/Xilinx/Vivado/2024.1/bin" >> "$GITHUB_PATH"
3636
- name: Build grapefruit bitstream
3737
run: buck2 build //hdl/projects/grapefruit:grapefruit --show-output
38+
- uses: actions/upload-artifact@v4
39+
with:
40+
name: gfruit-image
41+
path: "./buck-out/v2/gen/root/**/*"
3842

3943
bsv-streams:
4044
needs: changes
@@ -60,4 +64,8 @@ jobs:
6064
run: ./cobble build -v "//.*#bitstream"
6165
working-directory: ./build
6266
- name: backup build-dir
63-
run: cp -R ./build /tmp/cobble_build_bkup
67+
run: cp -R ./build /tmp/cobble_build_bkup
68+
- uses: actions/upload-artifact@v4
69+
with:
70+
name: bsv-images
71+
path: "./build/latest/**/*"

0 commit comments

Comments
 (0)