Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 23 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ jobs:
with:
key: x64

# Needed for the highs dependency
- name: Install Clang
run: yum install clang -y

- name: Compile
env:
HQ_BUILD_VERSION: ${{ needs.set-env.outputs.version }}
Expand Down Expand Up @@ -101,14 +105,13 @@ jobs:
with:
key: ${{ matrix.arch }}

- name: Install cross
run: cargo install cross --git https://github.com/cross-rs/cross

- name: Compile
uses: actions-rs/cargo@v1
env:
HQ_BUILD_VERSION: ${{ needs.set-env.outputs.version }}
with:
command: build
args: --target ${{ matrix.arch }} --no-default-features --profile dist
use-cross: true
run: cross build --target ${{ matrix.arch }} --no-default-features --profile dist

- name: Prepare archive
id: archive
Expand All @@ -125,27 +128,41 @@ jobs:
build-python-binding:
needs: [ set-env ]
runs-on: ubuntu-latest
container: quay.io/pypa/manylinux_2_28_x86_64
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.88.0
override: true
- uses: Swatinem/rust-cache@v2
with:
key: pyhq
# Needed for the highs dependency
- name: Install Clang and Python development headers
run: yum install clang python3.12-devel -y
- name: Install pip
run: python3 -m ensurepip
- uses: messense/maturin-action@v1
env:
CARGO_PROFILE_DIST_PANIC: unwind
CARGO_PROFILE_DIST_STRIP: none
CARGO_TARGET_DIR: target
HQ_BUILD_VERSION: ${{ needs.set-env.outputs.version }}
with:
docker-options: -e HQ_BUILD_VERSION=${{ needs.set-env.outputs.version }}
maturin-version: 1.3.0
container: off
manylinux: 2_28
command: build
args: --manifest-path crates/pyhq/Cargo.toml --profile dist --out wheels
- name: Install Python wheel
run: |
python3 -m venv venv
source venv/bin/activate
python3 --version
python3 -m pip install -U setuptools wheel pip
python3 -m pip install -r tests/requirements.txt
WHEEL=`realpath wheels/*.whl`
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* Client notification mechanism. A task can generate a notification,
which the process that submitted the task can capture.
* `hq journal report` that exports a statistics into an HTML report
* Resource coupling is now stabilized. It is extended to freely set arbitrary weights between groups.
* Server scheduler more respects priorities
* Server scheduler improved when resource variants are used
* Extended events:
Expand All @@ -27,6 +28,7 @@
In the current version, the client passively waits for events.
It saves some resources as the server is not queried every second.


## v0.24.0

### Breaking changes
Expand Down
Loading
Loading