Skip to content

Commit

Permalink
Fix slow_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzhichang committed Jul 11, 2024
1 parent d7fa117 commit 14a68f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: release

on:
schedule:
- cron: '0 21 * * *' # This schedule runs every 21:00:00Z(05:00:00+08:00)
- cron: '0 13 * * *' # This schedule runs every 13:00:00Z(21:00:00+08:00)
# The "create tags" trigger is specifically focused on the creation of new tags, while the "push tags" trigger is activated when tags are pushed, including both new tag creations and updates to existing tags.
create:
tags:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/slow_test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: slow_tests

on:
schedule:
- cron: '0 13 * * *' # This schedule runs every 13:00:00Z(21:00:00+08:00)
# The "create tags" trigger is specifically focused on the creation of new tags, while the "push tags" trigger is activated when tags are pushed, including both new tag creations and updates to existing tags.
create:
tags:
- "v*.*.*" # normal release
- "nightly" # the only one mutable tag

# https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
Expand Down Expand Up @@ -40,7 +43,7 @@ jobs:
run: rm -rf resource && git clone --depth=1 https://github.com/infiniflow/resource.git

- name: Build infinity-sdk
if: startsWith(github.ref, 'refs/tags/v')
if: ${{ !cancelled() && !failure() }}
run: |
sudo docker exec ${BUILDER_CONTAINER} bash -c "cd /infinity/ && rm -rf dist && /usr/local/bin/pip3.10 wheel . -v -w dist --config-settings=wheel.py-api=cp310 --config-settings=build-dir='cmake-build-release' && /usr/local/bin/pip3.11 wheel . -v -w dist --config-settings=wheel.py-api=cp311 --config-settings=build-dir='cmake-build-release' && /usr/local/bin/pip3.12 wheel . -v -w dist --config-settings=wheel.py-api=cp312 --config-settings=build-dir='cmake-build-release' && auditwheel repair --plat manylinux_2_17_x86_64 dist/infinity*linux_x86_64.whl"
Expand Down

0 comments on commit 14a68f6

Please sign in to comment.