Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
update ci to new master after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
GiannaP committed Feb 25, 2022
1 parent 2f97241 commit 45e0f1b
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,13 @@ jobs:
sudo mkdir -p /tools/riscv-llvm && sudo chmod 777 /tools/riscv-llvm
tar -C /tools/riscv-llvm -xf riscv-llvm.tar.gz --strip-components=1
echo "PATH=$PATH:/tools/riscv-llvm/bin" >> $GITHUB_ENV
- name: Build runtime for Snitch Banshee
- name: Build runtime
working-directory: sw/snRuntime
run: mkdir build && cd build && cmake -DCMAKE_TOOLCHAIN_FILE=toolchain-${{ matrix.toolchain
}} -DBUILD_TESTS=ON ${{ matrix.cmake_args }} -DSNITCH_RUNTIME=snRuntime-banshee
.. && make
- name: Test snRuntime for Snitch Banshee
}} -DBUILD_TESTS=ON ${{ matrix.cmake_args }} .. && make
- name: Test snRuntime
working-directory: sw/snRuntime/build
run: make test
run: ctest -L snRuntime
- name: Build snBLAS
working-directory: sw/snBLAS
run: mkdir build && cd build && cmake -DCMAKE_TOOLCHAIN_FILE=toolchain-${{ matrix.toolchain
Expand Down Expand Up @@ -141,13 +140,13 @@ jobs:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
export PATH=$HOME/.cargo/bin:${PATH}
cargo install --path sw/banshee
- name: Build runtime for Snitch Banshee
- name: Build runtime
working-directory: sw/snRuntime
run: mkdir build && cd build && cmake -DCMAKE_TOOLCHAIN_FILE=toolchain-${{ matrix.toolchain
}} -DBUILD_TESTS=ON -DSNITCH_RUNTIME=snRuntime-banshee .. && make
- name: Test snRuntime for Snitch Banshee
}} -DBUILD_TESTS=ON .. && make
- name: Test snRuntime
working-directory: sw/snRuntime/build
run: make test
run: ctest -L snRuntime
- name: Build snBLAS
working-directory: sw/snBLAS
run: mkdir build && cd build && cmake -DCMAKE_TOOLCHAIN_FILE=toolchain-${{ matrix.toolchain
Expand Down Expand Up @@ -188,5 +187,5 @@ jobs:
run: |
cd hw/system/snitch_cluster/sw && mkdir build && cd build && cmake -DCMAKE_TOOLCHAIN_FILE=toolchain-${{ matrix.toolchain }} -DBUILD_TESTS=ON .. && make
- name: Run Unit Tests
run: |-
run: |
cd hw/system/snitch_cluster/sw/build && make test

0 comments on commit 45e0f1b

Please sign in to comment.