Skip to content

Commit

Permalink
Merge pull request #51 from MattiaMontanari/MattiaMontanari-patch-1
Browse files Browse the repository at this point in the history
Fix broke pipeline and add Zig example to pipeline
  • Loading branch information
MattiaMontanari authored Nov 26, 2024
2 parents 77b54ae + 6b2be8e commit ba1d826
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/github-opengjk-examples.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Run all demos
run-name: ${{ github.actor }} is running
on: [push]
on:
push:
schedule:
- cron: '0 0 1,15 * *'
jobs:
C_GCC:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -39,6 +42,8 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v3
- run: apt-get update -y && apt-get install python3-setuptools python3-pip -y
- run: pip3 install numpy pytest scipy Cython
- run: cd examples/cython/ && python3 setup.py build_ext --inplace && python3 pygjk_trial.py
- run: cd examples/cython/ && pytest test.py

Expand Down Expand Up @@ -75,3 +80,14 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v3
- run: cd examples/matlab/; octave runme.m

Zig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: 0.13.0
- name: Build and run
run: cd examples/zig && zig build && zig build run

0 comments on commit ba1d826

Please sign in to comment.