odin-blend2d

Odin bindings to Blend2D
Log | Files | Refs | README | LICENSE

build.yml (1168B)


      1 name: Build
      2 
      3 on:
      4   push:
      5   pull_request:
      6   workflow_dispatch:
      7   schedule:
      8     - cron: 0 20 * * *
      9 
     10 
     11 jobs:
     12   build_linux:
     13     name: Linux
     14     runs-on: ubuntu-latest
     15     steps:
     16       - uses: laytan/setup-odin@v2
     17         with:
     18           token: ${{ secrets.GITHUB_TOKEN }}
     19           release: false
     20 
     21       - uses: actions/checkout@v4
     22 
     23       - name: Symlink libclang.so (Linux)
     24         run: sudo ln -s libclang-18.so.1 /lib/x86_64-linux-gnu/libclang.so
     25         working-directory: ${{ env.LLVM_PATH }}/lib
     26 
     27       - name: Build bindgen
     28         run: |
     29           odin build src -out:bindgen.exe -vet -strict-style
     30       
     31       - name: Raylib
     32         run: |
     33           ./bindgen.exe examples/raylib
     34           odin check examples/raylib/test -vet -strict-style
     35 
     36       - name: Box2D 
     37         run: |
     38           ./bindgen.exe examples/box2d
     39           odin check examples/box2d/test -vet -strict-style
     40 
     41       - name: ufbx
     42         run: |
     43           ./bindgen.exe examples/ufbx
     44           odin check examples/ufbx/test -vet -strict-style
     45 
     46       - name: joltc
     47         run: |
     48           ./bindgen.exe examples/joltc
     49           odin check examples/joltc/jolt -vet -strict-style -no-entry-point 
     50