Skip to content

Commit

Permalink
DH version to 0.33.3
Browse files Browse the repository at this point in the history
Java version to 17
  • Loading branch information
chipkent committed Apr 25, 2024
1 parent f55a70a commit 15811a9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Dockerfile.pip
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
FROM ubuntu:22.04

RUN apt update && \
apt install -y openjdk-11-jdk python3-pip python3-venv curl zip && \
apt install -y openjdk-17-jdk python3-pip python3-venv curl zip && \
pip3 install --upgrade pip setuptools wheel

ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/
ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64/

COPY ./wheels /wheels
COPY ./ib-wheels /ib-wheels
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

env:
IB_VERSION: 10.19.01
DH_VERSION: 0.28.1
DH_VERSION: 0.33.3

jobs:
build-ib-whl:
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
- name: Apt installs
run: |
sudo apt update
sudo apt install -y openjdk-11-jdk
sudo apt install -y openjdk-17-jdk
- name: Pip installs
run: pip3 install --upgrade sphinx==4.2.0 sphinx-autodoc-typehints furo==2021.10.9
- name: Download IB wheels
Expand All @@ -132,7 +132,7 @@ jobs:
- name: Run Sphinx
working-directory: ./sphinx
env:
JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
JAVA_HOME: /usr/lib/jvm/java-17-openjdk-amd64
run: |
make html
touch build/html/.nojekyll
Expand Down
6 changes: 3 additions & 3 deletions docker/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ ARG DH_VERSION
# Install requirements

RUN apt update && \
apt install -y openjdk-11-jdk && \
ln -s /usr/lib/jvm/java-11-openjdk-*/ /usr/lib/jvm/java-11-openjdk && \
apt install -y openjdk-17-jdk && \
ln -s /usr/lib/jvm/java-17-openjdk-*/ /usr/lib/jvm/java-17-openjdk && \
apt install --yes git python3-venv python3-pip curl unzip && \
pip3 install --upgrade pip setuptools wheel build

ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk
ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk

# Build and install ibapi

Expand Down

0 comments on commit 15811a9

Please sign in to comment.