mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 13:55:58 +00:00
Writes the fault address, the instruction pointer and a backtrace with module offsets to SEGVLOG_FILE; built by its own small workflow.
22 lines
625 B
YAML
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/
|