-
Notifications
You must be signed in to change notification settings - Fork 122
86 lines (81 loc) · 3.57 KB
/
Copy pathdistribution.yml
File metadata and controls
86 lines (81 loc) · 3.57 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# NOTICE - Actions permissions policy (Settings > Actions > General):
# - "Allow sirius-db, and select non-sirius-db, actions and reusable workflows"
# - Allow actions created by GitHub: YES (covers actions/*)
# - Allow actions by Marketplace verified creators: NO
# - Explicitly allowed third-party actions:
# prefix-dev/setup-pixi@*
# mozilla-actions/sccache-action@*
# - Require actions to be pinned to a full-length commit SHA: NO
#
# Adding a new action? You must:
# 1. Pin it to a full-length commit SHA (e.g. uses: owner/repo@<40-char-sha> # vX.Y.Z)
# 2. If it is not from sirius-db, GitHub, or the explicitly allowed third-party actions above, add it to the
# project-level allowlist above before merging
name: Distribution
on:
push:
branches:
- dev
merge_group:
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
cuda-13:
if: github.event_name != 'pull_request'
uses: sirius-db/extension-ci-tools/.github/workflows/_extension_distribution.yml@sirius
with:
extension_name: sirius
duckdb_version: v1.5.5
ci_tools_version: sirius
exclude_archs: "linux_amd64_musl;linux_arm64_musl;osx_amd64;osx_arm64;windows_amd64;windows_arm64;windows_amd64_mingw;wasm_mvp;wasm_eh;wasm_threads"
extra_toolchains: "cuda;rust;protobuf;libclang"
vcpkg_url: "https://github.com/microsoft/vcpkg.git"
vcpkg_commit: "ffc071e0c08432c60c9b64f00334c0227667931b"
vcpkg_binary_cache_enabled: true
skip_tests: true
reduced_ci_mode: "disabled"
override_ci_tools_repository: "sirius-db/extension-ci-tools"
build_type: ci-release
build_duckdb_shell: false
vcpkg_overlay_ports: "vcpkg_ports"
vcpkg_overlay_triplets: "vcpkg_triplets"
cuda_archs: "75-real;80-real;86-real;89-real;90a-real;100f-real;120a-real;120"
cuda_version: "13"
artifact_postfix: "-cuda13"
runners: '{"linux_x64": ["self-hosted", "ubuntu-24.04", "cpu-xl"], "linux_arm64": ["self-hosted", "ubuntu-24.04", "arm-xl"]}'
cuda-12:
if: github.event_name != 'pull_request'
uses: sirius-db/extension-ci-tools/.github/workflows/_extension_distribution.yml@sirius
with:
extension_name: sirius
duckdb_version: v1.5.5
ci_tools_version: sirius
exclude_archs: "linux_amd64_musl;linux_arm64_musl;osx_amd64;osx_arm64;windows_amd64;windows_arm64;windows_amd64_mingw;wasm_mvp;wasm_eh;wasm_threads"
extra_toolchains: "cuda;rust;protobuf;libclang"
vcpkg_url: "https://github.com/microsoft/vcpkg.git"
vcpkg_commit: "ffc071e0c08432c60c9b64f00334c0227667931b"
vcpkg_binary_cache_enabled: true
skip_tests: true
reduced_ci_mode: "disabled"
override_ci_tools_repository: "sirius-db/extension-ci-tools"
build_type: ci-release
build_duckdb_shell: false
vcpkg_overlay_ports: "vcpkg_ports"
vcpkg_overlay_triplets: "vcpkg_triplets"
cuda_archs: "75-real;80-real;86-real;89-real;90a-real"
cuda_version: "12"
artifact_postfix: "-cuda12"
runners: '{"linux_x64": ["self-hosted", "ubuntu-22.04", "cpu-xl"], "linux_arm64": ["self-hosted", "ubuntu-22.04", "arm-xl"]}'
distribution:
runs-on: ubuntu-slim
needs: [cuda-12, cuda-13]
if: always()
steps:
- name: Check
run: |
for r in "${{ needs.cuda-12.result }}" "${{ needs.cuda-13.result }}"; do
case "$r" in failure|cancelled) echo "distribution build $r"; exit 1 ;; esac
done
echo "ok (cuda-12=${{ needs.cuda-12.result }}, cuda-13=${{ needs.cuda-13.result }})"