Skip to content

docs: fix README badge links and header layout #4

docs: fix README badge links and header layout

docs: fix README badge links and header layout #4

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
build:
name: Build (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout prohelp-cli
uses: actions/checkout@v4
with:
path: prohelp-cli
- name: Checkout prohelp (path dependency)
uses: actions/checkout@v4
with:
repository: openshellorg/prohelp
path: prohelp
- name: Setup D compiler
uses: dlang-community/setup-dlang@v1
with:
compiler: ldc-latest
- name: Build library
working-directory: prohelp-cli
run: dub build -c library
- name: Build demo binary
working-directory: prohelp-cli
run: dub build -c demo --build=release
- name: Smoke demo
working-directory: prohelp-cli
shell: bash
run: |
if [ -f prohelp-cli-demo.exe ]; then BIN=./prohelp-cli-demo.exe; else BIN=./prohelp-cli-demo; fi
"$BIN" --help || "$BIN" ?