tsm/.github/workflows/build.yml

34 lines
669 B
YAML
Raw Normal View History

2023-09-05 16:49:29 -05:00
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:
2023-09-05 17:48:16 -05:00
nim-version: 2.0.0
2023-09-05 16:49:29 -05:00
# for cross compilation with ccnz
- uses: goto-bus-stop/setup-zig@v2
2023-09-05 18:18:44 -05:00
- run: nimble install -Y https://github.com/daylinmorgan/ccnz
2023-09-05 16:49:29 -05:00
- name: Generate build artifacts
run: nimble release
- name: Create artifact bundles
run: nimble bundle
- uses: actions/upload-artifact@v3
with:
name: artifacts
path: |
dist/*.tar.gz
dist/*.zip