Skip to content

Update ci pipeline #404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jun 4, 2025
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
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
build-gpu-image:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -29,7 +29,7 @@ jobs:
ENV: prod
PLATFORM: gpu
build-cpu-linux-amd64:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -52,7 +52,7 @@ jobs:
ENV: prod
PLATFORM: cpu
build-cpu-linux-arm64:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push]

jobs:
ruff:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ["3.9"]
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
pytest-unit:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ["3.9"]
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
pytest-integrative-1:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ["3.9"]
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
pytest-integrative-2:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ["3.9"]
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
pytest-integrative-3:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ["3.9"]
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
pytest-integrative-4:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ["3.9"]
Expand Down
4 changes: 2 additions & 2 deletions pip/cpu_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Minimal pip requirement list for AMPL with CPU support only. This includes only the packages directly imported by AMPL code, plus a few others commonly used during development.
-i https://download.pytorch.org/whl/cpu
--extra-index-url https://data.dgl.ai/wheels/repo.html
--extra-index-url https://pypi.python.org/simple
--find-links https://data.dgl.ai/wheels/repo.html
--extra-index-url https://pypi.python.org/simple
# for LC developers: comment out pypi index url and use t$
# --extra-index-url https://wci-repo.llnl.gov/repository/$

Expand Down
2 changes: 1 addition & 1 deletion pip/cuda_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Minimal pip requirement list for AMPL with CUDA-enabled GPUs. This includes only the packages directly imported by AMPL code, plus a few others commonly used during development. It requires CUDA-enable GPUs and nvidia packages to be installed first.
-i https://download.pytorch.org/whl/cu118
--extra-index-url https://pypi.python.org/simple
--extra-index-url https://pypi.python.org/simple
# **Note**: for LC developers, comment out line 3 pypi install and use/uncommenting line 5:
#--extra-index-url https://wci-repo.llnl.gov/repository/pypi-group/simple
-f https://data.dgl.ai/wheels/cu118/repo.html
Expand Down
4 changes: 2 additions & 2 deletions pip/docker_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Minimal pip requirement list for AMPL with CPU support only. This includes only the packages directly imported by AMPL code, plus a few others commonly used during development.
-i https://download.pytorch.org/whl/cpu
--extra-index-url https://data.dgl.ai/wheels/repo.html
--extra-index-url https://pypi.python.org/simple
--find-links https://data.dgl.ai/wheels/repo.html
--extra-index-url https://pypi.python.org/simple
# for LC developers: comment out pypi index url and use t$
# --extra-index-url https://wci-repo.llnl.gov/repository/$

Expand Down
4 changes: 2 additions & 2 deletions pip/mchip_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Minimal pip requirement list for AMPL with CPU support only for MacOS ARM chip. This includes only the packages directly imported by AMPL code, plus a few others commonly used during development.
-i https://download.pytorch.org/whl/cpu
--extra-index-url https://data.dgl.ai/wheels/repo.html
--extra-index-url https://pypi.python.org/simple
--find-links https://data.dgl.ai/wheels/repo.html
--extra-index-url https://pypi.python.org/simple
# for LC developers: comment out pypi index url and use t$
# --extra-index-url https://wci-repo.llnl.gov/repository/$

Expand Down