From 45e0f1b7152c42de2f5857c9f0f9f1b7671e0bb2 Mon Sep 17 00:00:00 2001 From: Gianna Paulin Date: Fri, 25 Feb 2022 13:42:14 +0100 Subject: [PATCH] update ci to new master after rebase --- .github/workflows/ci.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d9013b93..bdeeec229 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 @@ -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