From cceed84b347c5a62919969fdd07fe24ac759375b Mon Sep 17 00:00:00 2001 From: Erick Date: Sun, 9 Nov 2025 22:32:18 +0100 Subject: [PATCH] pr: add Github workflows for building OCCT and unit testing (#1) ci: run unit test for occt on push and PR --- .github/workflows/occt-unit-test.yml | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/occt-unit-test.yml 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 "=================="