Skip to content
Merged
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
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
fi

- name: Ensure test image is available (${{ matrix.arch_name }})
id: ensure-test-image
run: |
bash "${{ matrix.test_script }}" load

Expand All @@ -91,7 +92,7 @@ jobs:
bash "${{ matrix.test_script }}" run -vv test

- name: Save test image to cache path (${{ matrix.arch_name }})
if: always()
if: ${{ !cancelled() && steps.ensure-test-image.outcome == 'success' }}
run: |
docker image inspect "${{ matrix.image_name }}" >/dev/null 2>&1
docker save "${{ matrix.image_name }}" -o "${{ matrix.image_tar }}"
7 changes: 5 additions & 2 deletions etc/linux-container.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ RUN python -m pip install -U --no-cache-dir pip
RUN NINJAFLAGS='-v' python -m pip install -v --no-cache-dir \
"numpy<2"

RUN NINJAFLAGS='-v' python -m pip install -v --no-build-isolation --no-deps --no-cache-dir \
ml_dtypes
# Build against the installed NumPy 1.x on 32-bit platforms. ml_dtypes 0.6
# requires NumPy 2 and uses a different build backend.
RUN python -m pip install --no-cache-dir "setuptools~=80.9.0" \
&& NINJAFLAGS='-v' python -m pip install -v --no-build-isolation --no-deps --no-cache-dir \
"ml_dtypes==0.5.4"

RUN NINJAFLAGS='-v' python -m pip install -v --no-cache-dir \
psutil \
Expand Down
Loading