logos-messaging-nim/.github/workflows/test-nimble-install.yml
Jacek Sieka 94604430c6
ci
2025-10-19 12:47:13 +02:00

50 lines
1.1 KiB
YAML

name: Test Nimble Installation
on:
pull_request:
push:
branches:
- simpler-deps
jobs:
test-nimble-install:
continue-on-error: true # Some runs get oddly cancelled
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest] # TODO: Windows
nim-version: ['2.2.4'] # TODO: tests with more versions
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: nim-lang/setup-nimble-action@v1
with:
nimble-version: "0.20.1"
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Display Nimble version
run: |
nimble --version
- name: Display example.nimble
run: cat examples/nimble/example.nimble
- name: Display waku.nimble
run: head -n40 waku.nimble
- name: Build example project
working-directory: examples/nimble
run: |
echo "Building example project..."
nimble --verbose build
- name: Run example project
working-directory: examples/nimble
run: |
echo "Running example project..."
nimble --verbose run