diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..780076f --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: "Building" + +on: + push: + branches: [python-binding] + + pull_request: + branches: [python-binding] + +jobs: + build: + runs-on: ${{matrix.os}} + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + python-version: [3.12] + fail-fast: false + + steps: + - uses: actions/checkout@v4 + - name: Build using Python ${{matrix.python-version}} + uses: actions/setup-python@v5 + with: + python-version: ${{matrix.python-version}} + + - name: Installing [pip] + run: | + pip install --upgrade pip + pip install .