docs: Remove bold from man file description [skip] #28
This file contains 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: Build and Test or Release | |
on: | |
push: | |
branches: | |
- master | |
tags-ignore: | |
- '**' | |
paths-ignore: | |
- '**/*.md' | |
- LICENSE | |
pull_request: | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
outputs: | |
changed: ${{ steps.bump.outputs.bumped }} | |
changed-files: ${{ steps.bump.outputs.changed-files }} | |
steps: | |
- name: Checkout Sources | |
uses: actions/checkout@v4 | |
- name: Setup V | |
uses: prantlf/setup-v-action@v2 | |
- name: Bump version | |
id: bump | |
uses: prantlf/bump-version-action@v2 | |
with: | |
bump-files: jsonlint.v | |
- name: Shelve changes | |
uses: prantlf/shelve-changes-action@v1 | |
- name: Build and Test | |
run: make RELEASE=1 | |
- name: Shelve output | |
uses: prantlf/shelve-output-action@v2 | |
with: | |
enable: ${{ steps.bump.outputs.bumped }} | |
- name: Install ARM Cross-Compiler | |
run: | | |
sudo apt-get update | |
sudo apt-get install gcc gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu | |
- name: Build ARM | |
run: make build RELEASE=1 LINUX_ARM=1 | |
- name: Shelve output | |
uses: prantlf/shelve-output-action@v2 | |
with: | |
enable: ${{ steps.bump.outputs.bumped }} | |
arch: arm64 | |
macos: | |
needs: | |
- linux | |
runs-on: macos-latest | |
steps: | |
- name: Checkout Sources | |
uses: actions/checkout@v4 | |
- name: Setup V | |
uses: prantlf/setup-v-action@v2 | |
- name: Unshelve changes | |
if: ${{ needs.linux.outputs.changed == 'true' }} | |
uses: prantlf/unshelve-changes-action@v1 | |
with: | |
files: ${{ needs.linux.outputs.changed-files }} | |
discard-shelf: false | |
- name: Build and Test | |
run: make RELEASE=1 | |
- name: Shelve output | |
if: ${{ needs.linux.outputs.changed == 'true' }} | |
uses: prantlf/shelve-output-action@v2 | |
- name: Build ARM | |
run: make build RELEASE=1 MACOS_ARM=1 | |
- name: Shelve output | |
if: ${{ needs.linux.outputs.changed == 'true' }} | |
uses: prantlf/shelve-output-action@v2 | |
with: | |
arch: arm64 | |
windows: | |
needs: | |
- linux | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Sources | |
uses: actions/checkout@v4 | |
- name: Setup V | |
uses: prantlf/setup-v-action@v2 | |
- name: Unshelve changes | |
if: ${{ needs.linux.outputs.changed == 'true' }} | |
uses: prantlf/unshelve-changes-action@v1 | |
with: | |
files: ${{ needs.linux.outputs.changed-files }} | |
discard-shelf: false | |
- name: Install Cross-Compiler | |
run: sudo apt-get install gcc-mingw-w64-x86-64 | |
- name: Build Windows | |
run: make build RELEASE=1 WINDOWS=1 | |
- name: Shelve output | |
if: ${{ needs.linux.outputs.changed == 'true' }} | |
uses: prantlf/shelve-output-action@v2 | |
with: | |
os: windows | |
# windows: | |
# needs: | |
# - linux | |
# runs-on: windows-latest | |
# steps: | |
# - name: Checkout Sources | |
# uses: actions/checkout@v4 | |
# - name: Setup V | |
# uses: prantlf/setup-v-action@v2 | |
# - name: Unshelve changes | |
# if: ${{ needs.linux.outputs.changed == 'true' }} | |
# uses: prantlf/unshelve-changes-action@v1 | |
# with: | |
# files: ${{ needs.linux.outputs.changed-files }} | |
# discard-shelf: false | |
# - name: Build | |
# run: cmd /c make.bat | |
# - name: Shelve output | |
# if: ${{ needs.linux.outputs.changed == 'true' }} | |
# uses: prantlf/shelve-output-action@v2 | |
release: | |
if: ${{ github.ref_name == 'master' && needs.linux.outputs.changed == 'true' }} | |
needs: | |
- linux | |
- macos | |
- windows | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Unshelve changes | |
uses: prantlf/unshelve-changes-action@v1 | |
with: | |
files: ${{ needs.linux.outputs.changed-files }} | |
- name: Unshelve output | |
uses: prantlf/unshelve-output-action@v5 | |
- name: Publish release | |
uses: prantlf/finish-release-action@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |