diff --git a/.github/workflows/occt-unit-test.yml b/.github/workflows/occt-unit-test.yml new file mode 100644 index 0000000..ebe06b1 --- /dev/null +++ b/.github/workflows/occt-unit-test.yml @@ -0,0 +1,29 @@ +name: OCCT CI +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build-wrappers: + name: Build OCCT wrappers + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Make script executable + run: chmod +x ./ci/scripts/occt.sh + + - name: Build OCCT and run tests + run: ./ci/scripts/occt.sh --unit-testing + + - name: Summary + if: always() + run: | + echo "=== CI Summary ===" + echo "Build: ${{ steps.build.outcome }}" + echo "Tests: ${{ steps.test.outcome }}" + echo "=================="