Skip to content

Commit

Permalink
iteration test and ninja to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
galabovaa committed Dec 20, 2024
1 parent c05e9db commit b241a3f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 26 deletions.
25 changes: 1 addition & 24 deletions .github/workflows/build-bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,7 @@ name: build-bazel
on: [push, pull_request]

jobs:
bazel_workspace:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]

steps:
- uses: actions/checkout@v4

- uses: bazelbuild/setup-bazelisk@v3

- name: bazel clean
run: bazel clean

- name: build bazel
run: bazel build --enable_workspace //...

- name: test all
run: bazel test --enable_workspace //...

- name: test example
run: ./bazel-bin/call-highs-example

bazel_bzlmod:
bazel:
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: seanmiddleditch/gha-setup-ninja@master

- name: Build sdist
run: |
Expand All @@ -20,6 +21,7 @@ jobs:
- name: Install sdist
run: |
ls dist
python3 -m pip install scikit-build-core
python3 -m pip install dist/*.tar.gz
- name: Test highspy
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-python-sdist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: seanmiddleditch/gha-setup-ninja@master

- name: Build sdist
shell: bash
Expand All @@ -21,8 +22,8 @@ jobs:

- name: install highspy
run: |
python3 -m pip install --user scikit-build-core
python3 -m pip install --user dist/*.tar.gz
python3 -m pip install scikit-build-core --user
python3 -m pip install dist/*.tar.gz --user
- name: Test Python Examples
run: |
Expand Down

0 comments on commit b241a3f

Please sign in to comment.