add tui to gdb #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: gdb-static-pipeline | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: sudo apt-get install -y wget | |
- name: Build | |
run: make build -j$((`nproc`+1)) | |
- name: Pack | |
run: make pack | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: gdb-static | |
path: build/artifacts/gdb-static*.tar.gz | |
- name: Publish release | |
if: github.event_name == 'push' | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: build/artifacts/gdb-static*.tar.gz |