docs: updated changelog #409
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: | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Nim | |
uses: jiro4989/setup-nim-action@v2 | |
with: | |
nim-version: 'stable' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Update Nimble | |
run: nimble install -y nimble | |
- name: Debug build | |
run: nimble debug | |
- name: Check with Nimalyzer | |
run: | | |
sudo apt-get install -y libpcre3 | |
bin/nimalyzer config/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 | |
build_windows: | |
if: ${{ always() }} | |
needs: tests | |
timeout-minutes: 30 | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Nim | |
uses: jiro4989/setup-nim-action@v2 | |
with: | |
nim-version: 'stable' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Update Nimble | |
run: nimble install -y nimble | |
- name: Release build | |
run: | | |
nimble install -yd | |
nimble release | |
build_freebsd: | |
if: ${{ always() }} | |
needs: tests | |
timeout-minutes: 30 | |
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/nimalyzer/nimalyzer | |
nimble -y release | |
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@v2 | |
with: | |
nim-version: 'stable' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Update Nimble | |
run: nimble install -y nimble | |
- name: Release build | |
run: nimble release |