speeder CI

This commit is contained in:
ben0i0d 2024-09-26 02:48:01 +08:00
parent e99edf28fb
commit 12fcca70bd
4 changed files with 115 additions and 19 deletions

View File

@ -3,7 +3,7 @@ name: Build
on: [push]
jobs:
Build:
Base_Build:
runs-on: runner
steps:
- name: switch mirror
@ -29,12 +29,19 @@ jobs:
context: python/cpu
tags: eoelab.org:1027/ben0i0d/jupyter:py-c
- name: build & push image
uses: https://eoelab.org:1027/actions/build-push-action@v6
AI_C_Build:
runs-on: runner
needs: Base_Build
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3
with:
push: true
context: scrpy
tags: eoelab.org:1027/ben0i0d/jupyter:scrpy
registry: eoelab.org:1027
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWD }}
- name: build & push image
uses: https://eoelab.org:1027/actions/build-push-action@v6
@ -50,6 +57,27 @@ jobs:
context: pyai/cpu
tags: eoelab.org:1027/ben0i0d/jupyter:pyai-c
BigData_Build:
runs-on: runner
needs: Base_Build
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3
with:
registry: eoelab.org:1027
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWD }}
- name: build & push image
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
push: true
context: scrpy
tags: eoelab.org:1027/ben0i0d/jupyter:scrpy
- name: build & push image
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
@ -64,6 +92,20 @@ jobs:
context: pyflink
tags: eoelab.org:1027/ben0i0d/jupyter:pyflink
HPC_Build:
runs-on: runner
needs: Base_Build
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3
with:
registry: eoelab.org:1027
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWD }}
- name: build & push image
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
@ -78,6 +120,20 @@ jobs:
context: r
tags: eoelab.org:1027/ben0i0d/jupyter:r
VNC_Build:
runs-on: runner
needs: Base_Build
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3
with:
registry: eoelab.org:1027
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWD }}
- name: build & push image
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
@ -92,6 +148,20 @@ jobs:
context: pyqt6
tags: eoelab.org:1027/ben0i0d/jupyter:pyqt6
Octave_Build:
runs-on: runner
needs: Base_Build
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3
with:
registry: eoelab.org:1027
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWD }}
- name: build & push image
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
@ -99,6 +169,20 @@ jobs:
context: octave
tags: eoelab.org:1027/ben0i0d/jupyter:octave
Sagemath_Build:
runs-on: runner
needs: Base_Build
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3
with:
registry: eoelab.org:1027
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWD }}
- name: build & push image
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
@ -106,6 +190,20 @@ jobs:
context: sagemath
tags: eoelab.org:1027/ben0i0d/jupyter:sage
Scilab_Build:
runs-on: runner
needs: Base_Build
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3
with:
registry: eoelab.org:1027
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWD }}
- name: build & push image
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:

View File

@ -80,11 +80,10 @@ graph LR
Python-->PROGRAM{PROGRAMLANG}
PROGRAM-->PB(R)
PROGRAM-->PC(Julia)
Python-->PRA(Scipy)
Python-->PRA(Scipy)-->PRAA(pyai)
Python-->PRB(Scrpy)
PRA-->PRAA(pyai)
PRA-->PRAB(pyspark)
PRA-->PRAC(pyflink)
Python-->PRC(pyspark)
Python-->PRD(pyflink)
Python-->MATH{MATH-TOOL}-->MA(Octave)
MATH-->MB(Maple)
MATH-->MC(Sagemath)
@ -99,8 +98,8 @@ MATH-->MF(Scilab)
* cuda 12.2.0
* Python 3.11
* Julia latest
* spark 3.5.1
* flink 1.19.0
* spark 3.5.4
* flink 1.20.0
* jupyterlab 4
* Matlab R2023b
* Mathematica 14.0

View File

@ -88,11 +88,10 @@ graph LR
Python-->PROGRAM{PROGRAMLANG}
PROGRAM-->PB(R)
PROGRAM-->PC(Julia)
Python-->PRA(Scipy)
Python-->PRA(Scipy)-->PRAA(pyai)
Python-->PRB(Scrpy)
PRA-->PRAA(pyai)
PRA-->PRAB(pyspark)
PRA-->PRAC(pyflink)
Python-->PRC(pyspark)
Python-->PRD(pyflink)
Python-->MATH{MATH-TOOL}-->MA(Octave)
MATH-->MB(Maple)
MATH-->MC(Sagemath)
@ -107,8 +106,8 @@ MATH-->MF(Scilab)
* cuda 12.2.0
* Python 3.11
* Julia latest
* spark 3.5.1
* flink 1.19.0
* spark 3.5.4
* flink 1.20.0
* jupyterlab 4
* Matlab R2023b
* Mathematica 13.3.1

View File

@ -1,6 +1,6 @@
FROM eoelab.org:1027/ben0i0d/jupyter:scipy-c
# install torch
RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu && \
RUN pip install torch torchvision torchaudio -f https://mirror.sjtu.edu.cn/pytorch-wheels/cpu && \
pip cache purge