Skip to content

test-2

test-2 #2

Workflow file for this run

name: Build CVA6 Toolchain
on:
release:
types: [published]
jobs:
build-cva6-toolchain:
name: Build CVA6 Toolchain
runs-on: ubuntu-latest
steps:
- name: Clone CVA6 Repository
run: |
git clone https://github.com/openhwgroup/cva6.git
cd cva6
mkdir custom_toolchain_build
export INSTALL_DIR=$(pwd)/custom_toolchain_build
echo "INSTALL_DIR: $INSTALL_DIR"
- name: Fetch and Build Toolchain
run: |
cd cva6/util/toolchain-builder
bash get-toolchain.sh
bash build-toolchain.sh $INSTALL_DIR
- name: Archive Build Results
run: |
cd cva6
tar -czvf custom_toolchain_build.tar.gz custom_toolchain_build/
if: success()
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
with:
name: cva6-toolchain-build
path: cva6/custom_toolchain_build.tar.gz
upload-to-release:
name: Upload to GitHub Release
needs: build-mlir

Check failure on line 42 in .github/workflows/build-cva6-gcc.yml

View workflow run for this annotation

GitHub Actions / Build CVA6 Toolchain

Invalid workflow file

The workflow is not valid. .github/workflows/build-cva6-gcc.yml (Line: 42, Col: 12): Job 'upload-to-release' depends on unknown job 'build-mlir'.
runs-on: ubuntu-latest
steps:
- name: Download build artifacts
uses: actions/download-artifact@v3
with:
name: cva6-toolchain-build
- name: Upload MLIR build to GitHub Release
uses: softprops/action-gh-release@v1
with:
files: cva6/custom_toolchain_build.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}