Skip to content

CI: fix vm test and add llvm ir generate #15

CI: fix vm test and add llvm ir generate

CI: fix vm test and add llvm ir generate #15

Workflow file for this run

name: Run all input-output test for vm
on:
push:
branches: "main"
pull_request:
branches: "main"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
container:
- ubuntu-2204
- fedora-39
runs-on: ubuntu-22.04
container:
image: "manjusakalza/bpftime-base-image:${{matrix.container}}"
options: --privileged
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: build
run:
|
cmake -B build -DCMAKE_BUILD_TYPE=Debug -DBPFTIME_ENABLE_UNIT_TESTING=1
cmake --build build --target all -j
- name: run testsuit x86
shell: bash
run: |
python3.8 -m venv vm/test
source test/bin/activate
pip install -r vm/test/requirements.txt
# make build # or build-arm32 build-arm64
pytest -v -s test/test_framework