docs: updated changelog #620
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: Continuous Integration | |
on: | |
push: | |
branches: [ trunk ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Nim | |
uses: jiro4989/setup-nim-action@v1 | |
with: | |
nim-version: 'stable' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Update Nimble | |
run: nimble install -y nimble | |
- name: Debug build | |
run: nimble debug -y | |
- name: Install nimalyzer | |
run: nimble install -y nimalyzer | |
- name: Check with Nimalyzer | |
run: nimalyzer tools/nimalyzer.cfg | |
- name: Upload the log | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: nimalyzer.log | |
path: nimalyzer.log | |
- name: Run tests | |
run: nimble test -y | |
build_linux: | |
if: ${{ always() }} | |
needs: tests | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Nim | |
uses: jiro4989/setup-nim-action@v1 | |
with: | |
nim-version: 'stable' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Update Nimble | |
run: nimble install -y nimble | |
- name: Release build | |
run: nimble -y release | |
build_freebsd: | |
if: ${{ always() }} | |
needs: tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Release build | |
uses: vmactions/freebsd-vm@v1 | |
with: | |
usesh: true | |
prepare: | | |
sed -i '' -e 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf | |
pkg install -y git nimble ca_root_nss | |
run: | | |
export PATH=$PATH:$HOME/.nimble/bin:/usr/local/nim/bin | |
git config --global --add safe.directory /home/runner/work/nish/nish | |
nimble -y release |