tsm/.github/workflows/build.yml

36 lines
739 B
YAML
Raw Normal View History

2023-11-10 13:51:30 -06:00
name: 👑 ⚙️ Build Nim Binaries w/ Forge and Atlas
2023-09-05 16:49:29 -05:00
on:
workflow_call:
jobs:
build-artifact:
2023-11-10 13:51:30 -06:00
runs-on: ubuntu-latest
steps:
2024-09-12 13:31:15 -05:00
- uses: actions/checkout@v4
2023-11-10 13:51:30 -06:00
with:
fetch-depth: 0
2024-09-12 13:31:15 -05:00
- uses: jiro4989/setup-nim-action@v2
2023-11-10 13:51:30 -06:00
with:
2024-09-12 13:31:15 -05:00
nim-version: 2.0.8
2023-11-10 13:51:30 -06:00
- uses: goto-bus-stop/setup-zig@v2
- name: Setup Build Environment
run: |
nimble install -Y 'https://github.com/nim-lang/atlas.git@#f7ade65f' forge
2024-09-13 09:33:57 -05:00
nimble setup -Y -l
2023-11-10 13:51:30 -06:00
- name: Create artifact bundles
run: nim release && nim bundle
2024-09-13 10:04:10 -05:00
- uses: actions/upload-artifact@v4
2023-11-10 13:51:30 -06:00
with:
name: artifacts
path: |
dist/*.tar.gz
dist/*.zip