-
Notifications
You must be signed in to change notification settings - Fork 733
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release bigdl-llm * update * update * update * revert * revert * set bigdl-core-cpp version * rename
- Loading branch information
1 parent
ca9de76
commit 6f05301
Showing
3 changed files
with
86 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: BigDL-LLM Nightly Build | ||
|
||
on: | ||
# pull_request: | ||
# branches: [ main ] | ||
# paths: | ||
# - '.github/workflows/nightly_build.yml' | ||
schedule: | ||
- cron: '30 12 * * *' # GMT time, 12:30 GMT == 20:30 China | ||
workflow_dispatch: | ||
|
||
env: | ||
GIST_ID: 48dbd87983219d4fe264adfea701815a | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
|
||
# llm-cpp-build: | ||
# uses: ./.github/workflows/llm-binary-build.yml | ||
|
||
bigdl-llm-build: | ||
# python build can only be published once a day, please do not publish it manually | ||
if: ${{ github.event.schedule || github.event_name == 'workflow_dispatch' }} | ||
runs-on: [self-hosted, Bree] | ||
# needs: llm-cpp-build | ||
steps: | ||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.7.15' | ||
|
||
- 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'` | ||
export PYPI_VERSION=2.5.0 | ||
nb_version=${PYPI_VERSION}b${TIMESTAMP} | ||
echo ${nb_version} | ||
## windows ## | ||
bash python/llm/dev/release_default_windows.sh ${nb_version} true | ||
## linux ## | ||
bash python/llm/dev/release_default_linux.sh ${nb_version} true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters