Skip to content

refactor: changed type of field of ShellOption #624

refactor: changed type of field of ShellOption

refactor: changed type of field of ShellOption #624

Workflow file for this run

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 -y
- name: Install nimalyzer
run: nimble install -y nimalyzer
- name: Check with Nimalyzer
run: |
sudo apt-get install -y libpcre3
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