on: [workflow_dispatch] jobs: test-from-project: runs-on: codeberg-tiny steps: - name: 'Checkout' uses: 'https://code.forgejo.org/actions/checkout@v3' with: { fetch-depth: 0 } - name: 'Create build.zig.zon' run: | cat >build.zig.zon < zig-x86_64-linux - '0.15.0' - '0.15.1' # armv7a -> arm (though testing on ARM is TODO!) - '0.15.2' # some x.x.2 steps: - name: 'Checkout' uses: 'https://code.forgejo.org/actions/checkout@v3' with: { fetch-depth: 0 } - name: 'Setup Zig' uses: './' with: { version: '${{ matrix.zig_version }}' } - name: 'Test `zig init`' run: | mkdir init cd init zig init zig build test