forked from intel-analytics/ipex-llm
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (47 loc) · 1.46 KB
/
bigdl-llm-stable-release-pypi.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: BigDL-LLM Stable Release Pypi
on:
workflow_dispatch:
inputs:
version:
description: 'bigdl-llm version (e.g. 2.5.0b1)'
required: true
default: '2.5.0b0'
type: string
permissions:
contents: read
jobs:
llm-cpp-build:
uses: ./.github/workflows/llm-binary-build.yml
bigdl-release-python-pypi:
runs-on: [self-hosted, ubuntu-20.04-lts, Bree]
needs: llm-cpp-build
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
- name: set stable version
env:
DEFAULT_VERSION: '2.5.0b0'
run: |
echo "STABLE_VERSION=${{ github.event.inputs.version || env.DEFAULT_VERSION }}" >> $GITHUB_ENV
- name: Set up JDK8
uses: ./.github/actions/jdk-setup-action
- name: Set up maven
uses: ./.github/actions/maven-setup-action
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install wheel
pip install twine
- name: Download llm binary
uses: ./.github/actions/llm/download-llm-binary
- name: Build package
run: |
# export TIMESTAMP=`date '+%Y%m%d'`
# nb_version=${STABLE_VERSION}b${TIMESTAMP}1
echo ${STABLE_VERSION}
## linux ##
bash python/llm/dev/release_default_linux.sh ${STABLE_VERSION} true