Add workflow to check SCML files with sctrace

This commit is contained in:
Tao Su 2025-11-19 06:34:46 +00:00 committed by Tate, Hongliang Tian
parent d1e74d744e
commit c2fce9ae1d
1 changed files with 24 additions and 0 deletions

24
.github/workflows/test_scmls.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Validate SCML files with sctrace
on:
workflow_dispatch:
pull_request:
paths:
- tools/sctrace/**
- book/src/kernel/linux-compatibility/syscall-feature-coverage/**
push:
branches:
- main
paths:
- tools/sctrace/**
- book/src/kernel/linux-compatibility/syscall-feature-coverage/**
jobs:
test_scmls:
runs-on: ubuntu-latest
timeout-minutes: 10
container: asterinas/asterinas:0.16.1-20250922
steps:
- uses: actions/checkout@v4
- name: Test SCML files with sctrace
run: ./tools/sctrace.sh -- echo "Asterinas"