also looking at this
Test the built native CLI startup in CI
#317
3 files
+54
-2
| @@ -57,8 +57,13 @@ jobs: | ||
| 57 | 57 | uses: ./.github/actions/first-party-zig-deps |
| 58 | 58 | |
| 59 | 59 | - name: Build Zig core |
| 60 | working-directory: packages/zig | |
| 61 | run: zig build | |
| 60 | run: bun run build:core | |
| 61 | ||
| 62 | - name: Verify built native CLI startup | |
| 63 | run: | | |
| 64 | bun test scripts/verify-native-startup.test.ts | |
| 65 | VERSION="$(bun -p "require('./package.json').version")" | |
| 66 | bun scripts/verify-native-startup.ts packages/zig/zig-out/bin/craft "$VERSION" | |
| 62 | 67 | |
| 63 | 68 | - name: First-party Zig dependencies |
| 64 | 69 | uses: ./.github/actions/first-party-zig-deps |