Points to nim-stint#5c5e01cef089a261474b7abfe246b37447aaa8ed
This commit is contained in:
Eric 2024-11-27 19:22:50 +11:00
commit 09033bc865
No known key found for this signature in database
2 changed files with 48 additions and 0 deletions

38
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,38 @@
name: CI
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
nim: [1.6.20, stable]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nim
uses: iffy/install-nim@v4
with:
version: ${{ matrix.nim }}
- name: Nimble check
run: nimble check
- name: Nimble install
run: nimble install -y
status:
if: always()
needs: [check]
runs-on: ubuntu-latest
steps:
- if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }}
run: exit 1

10
stint_versioned.nimble Normal file
View File

@ -0,0 +1,10 @@
# corresponds to what the dependent package version SHOULD BE, following the
# [semver spec](http://semver.org/) [with initial release at
# 1.0.0](https://docs.npmjs.com/about-semantic-versioning#incrementing-semantic-versions-in-published-packages).
version = "1.0.0"
author = "Status Research & Development GmbH"
description = "Efficient stack-based multiprecision int in Nim"
license = "MIT"
requires "nim >= 1.6.0"
requires "stint#5c5e01cef089a261474b7abfe246b37447aaa8ed"