mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 14:00:16 +02:00
Now logs are uploaded directly as the name of the test instead of a separate name. Signed-off-by: crueter <crueter@eden-emu.dev>
22 lines
570 B
YAML
22 lines
570 B
YAML
name: Run Test and Store Logs
|
|
description: Run a test and store the log.
|
|
inputs:
|
|
target:
|
|
description: 'The test target to run'
|
|
required: true
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Run Tests
|
|
shell: bash
|
|
run: cmake --build build --target ${{ inputs.target }}
|
|
|
|
- name: Move and Truncate Results
|
|
if: ${{ always() }}
|
|
shell: bash
|
|
run: |
|
|
mkdir -p results
|
|
mv build/Testing/Temporary/LastTest.log results/${{ inputs.target }}.log || true
|
|
truncate --size="<20M" results/${{ inputs.target }}.log || true
|