Skip to content

Back to actions/checkout v1 #119

Back to actions/checkout v1

Back to actions/checkout v1 #119

Workflow file for this run

---
name: test
# yamllint disable-line rule:truthy
on:
- push
- pull_request
jobs:
before:
runs-on: ubuntu-latest
if: "! contains(github.event.head_commit.message, '[skip ci]')"
steps:
- run: echo "commit message doesn't contain '[skip ci]'"
test:
needs: before
runs-on: ubuntu-latest
strategy:
matrix:
nim-version:
- '1.4.8'
- '1.6.16'
- '2.0.0'
- 'devel'
steps:
- uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: ${{ matrix.nim-version }}
- run: nimble install -y
- run: nimble test
- run: nimble checkExamples
i386:
needs: before
runs-on: ubuntu-latest
container:
image: i386/ubuntu:bionic
strategy:
matrix:
nim-version:
- '1.6.16'
- '2.0.0'
steps:
- uses: actions/checkout@v1
- run: |
apt-get update -y
apt-get install -y curl gcc g++ git xz-utils
- name: Install Nim
run: |
mkdir ~/.nim
cd ~/.nim
curl -sSf https://nim-lang.org/download/nim-${{ matrix.nim-version }}-linux_x32.tar.xz | tar -xJ
realpath nim-${{ matrix.nim-version }}/bin >> $GITHUB_PATH
whereis nimble
- run: |
whereis nimble
nimble install -y
- run: nimble test
- run: nimble checkExamples