Skip to content

Commit

Permalink
tests: added GitHub workflow
Browse files Browse the repository at this point in the history
FossilOrigin-Name: b2fe32d60a162179cf04a2975a3d025f6fc0003aa1e9f6033ea5b4e810586604
  • Loading branch information
thindil committed Dec 19, 2024
1 parent c68c59c commit de35aa9
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/nim.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Continuous Integration

on:
push:
branches: [ trunk ]

jobs:

tests:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: All tests in FreeBSD VM
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 debug
nimble install -y nimalyzer
nimalyzer tools/nimalyzer.cfg
nimble test -y
nimble -y release
- name: Upload the log
uses: actions/upload-artifact@v4
if: failure()
with:
name: nimalyzer.log
path: nimalyzer.log

0 comments on commit de35aa9

Please sign in to comment.