Files
DroidDeck/.github/workflows/build-diag.yml
T
The412Banner 43da1b8d1f Diagnostics: SIGSEGV logger preload for x86 guest programs
Writes the fault address, the instruction pointer and a backtrace with
module offsets to SEGVLOG_FILE; built by its own small workflow.
2026-10-02 19:28:49 -04:00

22 lines
625 B
YAML

name: Build diagnostics
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Build
run: |
sudo apt-get update -qq && sudo apt-get install -y -qq gcc-multilib >/dev/null
mkdir -p out
gcc -m32 -O1 -fPIC -shared -fno-omit-frame-pointer -o out/libsegvlog-i386.so tools/diag/segvlog.c -ldl
gcc -O1 -fPIC -shared -fno-omit-frame-pointer -o out/libsegvlog-x86_64.so tools/diag/segvlog.c -ldl
file out/*
- uses: actions/upload-artifact@v4
with:
name: diag
path: out/