Skip to content

Commit 5cfa97e

Browse files
mikolaj-klikowiczglatosinski
authored andcommitted
[#71899] CI: Adjusted tests to new environment
Signed-off-by: Mikolaj Klikowicz <mklikowicz@antmicro.com>
1 parent 515024d commit 5cfa97e

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ variables:
1414
GIT_SUBMODULE_UPDATE_FLAGS: --jobs `nproc`
1515
IREE_HOST_BIN_DIR: "/opt/iree_compiler/bin"
1616
RISCV_TOOLCHAIN_ROOT: "/opt/toolchain_iree_rv32imf"
17-
RENODE_PATH: "/opt/renode"
17+
RENODE_PATH: "/usr/bin"
1818

1919
stages:
2020
- lint
@@ -93,6 +93,7 @@ unit_tests:
9393
before_script:
9494
- *minimal_build_prepare
9595
script:
96+
- cmake --build build/build-riscv --target unit-tests
9697
- cmake --build build/build-riscv --target unit-tests-coverage
9798
artifacts:
9899
paths:

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: |
3838
./.github/scripts/readme-tests.sh
3939
- name: Upload artifacts
40-
uses: actions/upload-artifact@v3
40+
uses: actions/upload-artifact@v4
4141
with:
4242
name: gh-page
4343
path: report-html

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ add_custom_target(unit-tests
117117
WORKING_DIRECTORY ${UNIT_TESTS_DIR}
118118
)
119119
add_custom_target(unit-tests-coverage
120-
COMMAND bash -c "ceedling gcov:all utils:gcov"
120+
COMMAND bash -c "ceedling gcov:all || exit 0"
121+
COMMAND bash -c "ceedling utils:gcov"
121122
USES_TERMINAL
122123
VERBATIM
123124
USES_TERMINAL

0 commit comments

Comments
 (0)