tsm/.github/workflows/build.yml

33 lines
646 B
YAML

name: ⚙️ Build Binaries
on:
workflow_call:
jobs:
build-artifact:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: 2.0.0
# for cross compilation with ccnz
- uses: goto-bus-stop/setup-zig@v2
- name: Generate build artifacts
run: |
nimble install -Y forge
nimble release
- name: Create artifact bundles
run: nimble bundle
- uses: actions/upload-artifact@v3
with:
name: artifacts
path: |
dist/*.tar.gz
dist/*.zip