Skip to content

Commit 5be91f4

Browse files
committed
run docker with env
1 parent 9846329 commit 5be91f4

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/build-windows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: build-windows
22

33
on:
4-
push:
5-
branches:
6-
- main
4+
# push:
5+
# branches:
6+
# - main
77
release:
88
types:
99
- published
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
# python-version: ['3.10', '3.11', '3.12', '3.13']
19-
python-version: ['3.12']
19+
python-version: ['3.12'] # TEST
2020

2121
steps:
2222
- name: Checkout

docker/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ FROM nvidia/cuda:13.2.1-devel-ubuntu24.04 as builder
3232
MAINTAINER Siavash Ameli <samei@berkeley.edu>
3333
LABEL Description="imate python package with cuda-13 support"
3434

35+
ENV DEBIAN_FRONTEND=noninteractive
36+
ENV TZ=Etc/UTC
37+
3538
# Install python3
3639
RUN apt-get update && \
3740
apt-get install -y --no-install-recommends \
@@ -54,7 +57,6 @@ WORKDIR /tmp/imate
5457
RUN rm -rf build dist
5558

5659
# Note: run setup.py clean to remove in-source cpp build files (if there are any)
57-
RUN /usr/bin/python3 -m pip install --break-system-packages --upgrade pip
5860
RUN /usr/bin/python3 -m pip install --break-system-packages --prefer-binary numpy scipy cython build
5961
RUN /usr/bin/python3 setup.py clean
6062
RUN /usr/bin/python3 -m build --wheel --outdir dist --no-isolation

0 commit comments

Comments
 (0)