-
Notifications
You must be signed in to change notification settings - Fork 41
42 lines (39 loc) · 1.16 KB
/
_runner-softhier.yml
File metadata and controls
42 lines (39 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# SPDX-FileCopyrightText: 2024 ETH Zurich and University of Bologna
#
# SPDX-License-Identifier: Apache-2.0
---
name: _runner-softhier
"on":
workflow_call:
inputs:
runner:
required: true
type: string
docker-image:
required: true
type: string
pytest-marker:
required: true
type: string
jobs:
test-runner-softhier:
runs-on: ${{ inputs.runner }}
container:
image: ${{ inputs.docker-image }}
env:
UV_PROJECT_ENVIRONMENT: /app/.venv
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Run Test # VJUNG: Run tests with 4 parallel threads as GitHub action VM has 4 cores.
run: |
export SOFTHIER_INSTALL_DIR=/app/install/softhier
cd DeeployTest
mkdir -p /app/.ccache
export CCACHE_DIR=/app/.ccache
uv run pytest test_platforms.py -v -n 4 -m "softhier and ${{ inputs.pytest-marker }}" --toolchain=GCC --toolchain-install-dir=$SOFTHIER_INSTALL_DIR/third_party/toolchain/install
shell: bash