Merge pull request #68 from guyush1/make-clean-posix-compliance #9
Workflow file for this run
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-release-pipeline | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| # Use a non-parallel single job pipeline because artifacts weigh too much. Instead, | |
| # simply build the files in the same job they are released. | |
| jobs: | |
| build_and_publish: | |
| env: | |
| TTY_ARG: "" # Disable interactive build mode in cicd since it does not contain a tty device. | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install dependencies | |
| run: sudo apt-get install -y wget | |
| - name: Build | |
| run: make build -j$((`nproc`+1)) | |
| - name: Pack | |
| run: make pack | |
| - name: Publish release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: build/artifacts/gdb-static*.tar.gz |