diff options
| author | Andre Weissflog <floooh@gmail.com> | 2025-02-10 12:47:14 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2025-02-10 12:47:14 +0100 |
| commit | 394ea32b16a34f042a3799c9ae6d8a8c03357bf3 (patch) | |
| tree | 70c61c88724346ac7ee373ae501dce5788069288 /.github | |
| parent | 132dd7ca11ff6f8ab0cedb9a6a715deb7c98f821 (diff) | |
| parent | 4395d06f40729c3b2f6af5003d22d759584ef52e (diff) | |
Merge branch 'radekm-c3-lang-support'
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/gen_bindings.yml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/.github/workflows/gen_bindings.yml b/.github/workflows/gen_bindings.yml index d1741a38..56c57c9c 100644 --- a/.github/workflows/gen_bindings.yml +++ b/.github/workflows/gen_bindings.yml @@ -66,6 +66,10 @@ jobs: with: repository: colinbellino/sokol-jai path: bindgen/sokol-jai + - uses: actions/checkout@main + with: + repository: floooh/sokol-c3 + path: bindgen/sokol-c3 - name: generate run: | cd bindgen @@ -108,6 +112,12 @@ jobs: name: ignore-me-jai retention-days: 1 path: bindgen/sokol-jai/sokol + - name: upload-c3-artifact + uses: actions/upload-artifact@main + with: + name: ignore-me-c3 + retention-days: 1 + path: bindgen/sokol-c3/sokol.c3l test-zig: needs: gen-bindings @@ -323,6 +333,40 @@ jobs: - name: build run: echo "run jai here" + test-c3: + needs: gen-bindings + strategy: + # Continue build even if some platforms fail. + fail-fast: false + matrix: + include: + - os: macos-latest + arch: arm64 + - os: ubuntu-latest + arch: x64 + - os: windows-latest + arch: x64 + runs-on: ${{matrix.os}} + steps: + - uses: actions/checkout@main + with: + repository: floooh/sokol-c3 + - uses: radekm/setup-c3@v2 + with: + version: v0.6.6 + - uses: actions/download-artifact@main + with: + name: ignore-me-c3 + path: sokol.c3l + - name: prepare + if: runner.os == 'Linux' + run: | + sudo apt-get update + sudo apt-get install libgl1-mesa-dev libegl1-mesa-dev mesa-common-dev xorg-dev libasound-dev + - name: build + shell: bash + run: ./build-examples.sh + # only deploy the bindings for commits on the main branch deploy-zig: needs: test-zig |