From d1e203a26adb1f098fece7b232f15cb6e4c4d67b Mon Sep 17 00:00:00 2001 From: Shaojun Liu <61072813+liu-shaojun@users.noreply.github.com> Date: Mon, 19 Aug 2024 13:47:09 +0800 Subject: [PATCH] Create nightly-build.yml --- .github/workflows/nightly-build.yml | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/nightly-build.yml diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml new file mode 100644 index 0000000..afea30e --- /dev/null +++ b/.github/workflows/nightly-build.yml @@ -0,0 +1,30 @@ +name: LLM Nightly Build & Release + +# Controls when the action will run. +on: + # Triggers the workflow on push or pull request events but only for the main branch + schedule: + - cron: '*/5 * * * *' # GMT time, 6:50 GMT == 12:50 China + workflow_dispatch: + inputs: + pypi-version: + description: 'pypi version (e.g. 2.5.0.dev0)' + required: false + default: '' + type: string + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + trigger-bigdl-core-xxx-for-py311: + uses: liu-shaojun/test-repo/.github/workflows/build-pypi-package.yml@main + with: + python-version: '3.11' + pypi-version: ${{ (github.event_name == 'schedule') && '' || ( github.event_name == 'workflow_dispatch' ) && inputs.pypi-version }} + release-bigdl-core-xe: true + release-bigdl-core-xe-win: true + release-bigdl-core-xe-batch: true + release-bigdl-core-xe-batch-win: true + release-bigdl-core-xe-addons-for-linux-and-windows: true + release-bigdl-core-cpp: true + release-bigdl-core-cpp-win: true + release-bigdl-core-npu-win: true