31 lines
925 B
YAML
31 lines
925 B
YAML
|
name: GDB x86
|
||
|
on:
|
||
|
workflow_dispatch
|
||
|
jobs:
|
||
|
build:
|
||
|
name: Build GDB x86
|
||
|
runs-on: ubuntu-latest
|
||
|
container: muslcc/x86_64:i686-linux-musl
|
||
|
steps:
|
||
|
- name: Install dependencies
|
||
|
run: apk update && apk add bash git perl make cmake flex bison automake autoconf libtool qemu-arm qemu-aarch64 file texinfo zip
|
||
|
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v2
|
||
|
|
||
|
- name: Build GDB
|
||
|
id: build_gdb
|
||
|
run: $GITHUB_WORKSPACE/build/targets/build_gdb.sh x86
|
||
|
|
||
|
- name: List build directory
|
||
|
run: ls -la /build
|
||
|
|
||
|
- name: List build artifacts
|
||
|
run: ls -la /output
|
||
|
|
||
|
- name: Upload artifacts
|
||
|
uses: actions/upload-artifact@v2
|
||
|
with:
|
||
|
name: ${{ steps.build_gdb.outputs.PACKAGED_NAME }}
|
||
|
path: ${{ steps.build_gdb.outputs.PACKAGED_NAME_PATH }}
|