Compare commits

...

3 Commits

Author SHA1 Message Date
Daylin Morgan b8d9a8a2fa
docs: add nimble shield 2023-09-08 17:11:06 -05:00
Daylin Morgan f6fec0d2ac
chore: remove comment 2023-09-08 16:53:02 -05:00
Daylin Morgan bd17854e0e
ci: reuse because I'm lazy 2023-09-08 16:49:31 -05:00
5 changed files with 53 additions and 1 deletions

View File

@ -1,4 +1,3 @@
# example ccnz config file
nimble
[target]

9
.github/.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,9 @@
name: ⚙️ Build Binaries
on:
workflow_dispatch:
workflow_call:
jobs:
build-artifact:
uses: daylinmorgan/actions/.github/workflows/build-nim-forge.yml@main

24
.github/.github/workflows/nightly.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: 🌙 Nightly Release
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
permissions:
contents: write
jobs:
check-commits:
uses: daylinmorgan/actions/.github/workflows/check-commits.yml@main
with:
since: "24 hours"
build-artifacts:
needs: check-commits
if: ${{ needs.check-commits.outputs.quit != 'true' }}
uses: daylinmorgan/actions/.github/workflows/build-nim-forge.yml@main
generate-release:
needs: build-artifacts
uses: daylinmorgan/actions/.github/workflows/nightly.yml@main

17
.github/.github/workflows/release.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: 🚀 Release
on:
push:
tags:
- 'v*.*'
permissions:
contents: write
jobs:
build-artifacts:
uses: daylinmorgan/actions/.github/workflows/build-nim-forge.yml@main
create-release:
needs: build-artifacts
uses: daylinmorgan/actions/.github/workflows/release.yml@main

View File

@ -1,5 +1,8 @@
# forge
[![nimble shield](https://img.shields.io/github/v/tag/daylinmorgan/forge?filter=v*&logo=Nim&label=nimble&labelColor=black&color=yellow)](https://nimble.directory/pkg/forge)
A basic toolchain to forge (cross-compile) your multi-platform `nim` binaries.
## Why?