Skip to content

Commit

Permalink
ci: Temporarily remove Banshee due to dependency error
Browse files Browse the repository at this point in the history
  • Loading branch information
colluca committed Sep 27, 2024
1 parent 73bcc02 commit 6b4f5ef
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 32 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,33 +128,33 @@ jobs:
run: |
make SIM_DIR=./runs/simple annotate -j
#########################################
# Build SW on Snitch Cluster w/ Banshee #
#########################################
# #########################################
# # Build SW on Snitch Cluster w/ Banshee #
# #########################################

sw-snitch-cluster-banshee:
name: Simulate SW on Snitch Cluster w/ Banshee
runs-on: ubuntu-22.04
needs: build-docker
if: >
github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name != github.repository
container:
image: ghcr.io/pulp-platform/snitch_cluster:${{ github.ref_name }}
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Build Software
run: |
bender vendor init
make -C target/snitch_cluster SELECT_RUNTIME=banshee sw
- name: Run Tests
env:
SNITCH_LOG: info
working-directory: target/snitch_cluster
run: |
./util/run.py sw/run.yaml --simulator banshee -j
# sw-snitch-cluster-banshee:
# name: Simulate SW on Snitch Cluster w/ Banshee
# runs-on: ubuntu-22.04
# needs: build-docker
# if: >
# github.event_name != 'pull_request' ||
# github.event.pull_request.head.repo.full_name != github.repository
# container:
# image: ghcr.io/pulp-platform/snitch_cluster:${{ github.ref_name }}
# steps:
# - uses: actions/checkout@v2
# with:
# submodules: 'recursive'
# - name: Build Software
# run: |
# bender vendor init
# make -C target/snitch_cluster SELECT_RUNTIME=banshee sw
# - name: Run Tests
# env:
# SNITCH_LOG: info
# working-directory: target/snitch_cluster
# run: |
# ./util/run.py sw/run.yaml --simulator banshee -j

######################
# Sources Up-to-Date #
Expand Down
12 changes: 6 additions & 6 deletions util/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ RUN apt-get update && \
curl wget git tar \
# Required for rust
build-essential \
# Required for banshee
cmake llvm-12-dev libclang-common-12-dev zlib1g-dev
# # Required for banshee
# cmake llvm-12-dev libclang-common-12-dev zlib1g-dev

# Build Rust tools
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
Expand All @@ -38,9 +38,9 @@ RUN rustup install ${RUST_VERSION} && \
# Change working directory
WORKDIR /tools

# Install `banshee` (needs cmake)
RUN git clone https://github.com/pulp-platform/banshee.git /tmp/banshee --recurse-submodules && \
cargo install --path /tmp/banshee
# # Install `banshee` (needs cmake)
# RUN git clone https://github.com/pulp-platform/banshee.git /tmp/banshee --recurse-submodules && \
# cargo install --path /tmp/banshee

# Install Bender
RUN wget https://github.com/pulp-platform/bender/releases/download/v${BENDER_VERSION}/bender-${BENDER_VERSION}-x86_64-linux-gnu-ubuntu${UBUNTU_VERSION}.tar.gz && \
Expand Down Expand Up @@ -108,7 +108,7 @@ RUN ${VIRTUAL_ENV}/bin/pip install --upgrade pip && \

# Copy the tools from the builder stage
COPY --from=builder /tools/bender /tools/bin/
COPY --from=builder /root/.cargo/bin/banshee /tools/bin/
# COPY --from=builder /root/.cargo/bin/banshee /tools/bin/
COPY --from=builder /tools/doxygen/bin/doxygen /tools/bin/
COPY --from=builder /tools/verible* /tools/bin/
COPY --from=builder /tools/riscv-llvm /tools/riscv-llvm
Expand Down

0 comments on commit 6b4f5ef

Please sign in to comment.