diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c4a92da5..eb166619 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,9 +32,13 @@ jobs: - name: Update pip reqs run : python3 -m pip install --upgrade -r tools/requirements.txt --break-system-packages - name: buck path - run: echo "~/.cargo/bin" >> "$GITHUB_PATH" + run: echo "~/.cargo/bin:/opt/Xilinx/Vivado/2024.1/bin" >> "$GITHUB_PATH" - name: Build grapefruit bitstream run: buck2 build //hdl/projects/grapefruit:grapefruit --show-output + - uses: actions/upload-artifact@v4 + with: + name: gfruit-image + path: "./buck-out/v2/gen/root/**/*" bsv-streams: needs: changes @@ -60,4 +64,8 @@ jobs: run: ./cobble build -v "//.*#bitstream" working-directory: ./build - name: backup build-dir - run: cp -R ./build /tmp/cobble_build_bkup \ No newline at end of file + run: cp -R ./build /tmp/cobble_build_bkup + - uses: actions/upload-artifact@v4 + with: + name: bsv-images + path: "./build/latest/**/*" \ No newline at end of file