Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
3 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
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
name: Update Objective-C API Docs
 
# Run when the Objective-C API changes or every week so that the artifact does not expire.
# Also runs on pull requests that touch relevant files so doc generation errors
# are caught early. The artifact is only published on the main branch.
on:
  push:
    branches:
    - main
    paths:
    - objectivec/**
  pull_request:
    paths:
    - objectivec/**
  schedule:
  - cron: '0 0 * * 0'
  workflow_dispatch:
 
concurrency:
  group: "apidocs-objectivec-${{ github.ref }}"
  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
 
permissions:
  contents: write
 
jobs:
  build:
    name: Generate Objective-C API docs
    runs-on: macos-latest
    timeout-minutes: 120
    steps:
    - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
 
    - name: Get vcpkg tool info
      id: vcpkg-tool-info
      uses: ./.github/actions/get-vcpkg-tool-info
 
    - uses: microsoft/onnxruntime-github-actions/setup-build-tools@d19341fb036c43a947a2c0e4a53ad4d15e10bc5c # v0.0.9
      with:
        vcpkg-version: ${{ steps.vcpkg-tool-info.outputs.release_tag }}
        vcpkg-hash: ${{ steps.vcpkg-tool-info.outputs.sha512 }}
        cmake-version: '3.31.8'
        cmake-hash: 99cc9c63ae49f21253efb5921de2ba84ce136018abf08632c92c060ba91d552e0f6acc214e9ba8123dee0cf6d1cf089ca389e321879fd9d719a60d975bcffcc8
        add-cmake-to-path: 'true'
        disable-terrapin: 'true'
 
    - name: Install Jazzy and dependencies
      env:
        BUNDLE_GEMFILE: ./objectivec/docs/Gemfile
      run: bundle install
 
    - name: Generate Objective-C docs
      env:
        BUNDLE_GEMFILE: ./objectivec/docs/Gemfile
      run: |
        set -e
 
        # add commit info to main page of generated docs
        ORT_COMMIT_SHORT="$(git rev-parse --short HEAD)"
        printf "\n%s\n" \
               "This documentation was generated from the ONNX Runtime source at commit ${ORT_COMMIT_SHORT}." \
               >> ./objectivec/docs/main_page.md
 
        bundle exec jazzy --config ./objectivec/docs/jazzy_config.yaml \
              --clean --output ./_site/docs/api/objectivec
      shell: bash
 
    - name: Upload new site
      if: github.ref == 'refs/heads/main'
      uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
      with:
        name: onnxruntime-objectivec-apidocs
        path: ./_site
        retention-days: 10