Auto regenerate LORA's fbs files (#22313)

### Description

A left-over of PR #22046 

### Motivation and Context
Right now our VCPKG pipelines are broken.
This commit is contained in:
Changming Sun 2024-10-04 10:01:19 -07:00 committed by GitHub
parent 1df215e9bb
commit f25f3868a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 2 deletions

View file

@ -131,11 +131,13 @@ jobs:
- name: "Run compile_schema.py"
run: |
set -e -x
# Runner's host triplet should be x64-osx or arm64-osx
export FLATC_DIR="${{ github.workspace }}/.build/${{ runner.arch }}-osx/tools/flatbuffers"
export PATH="$FLATC_DIR:$PATH"
flatc --version
python onnxruntime/core/flatbuffers/schema/compile_schema.py --flatc "$(which flatc)"
python onnxruntime/lora/adapter_format/compile_schema.py --flatc "$(which flatc)"
- name: "Detect protoc"
id: protoc-detect

View file

@ -56,7 +56,6 @@ jobs:
uses: lukka/run-vcpkg@v11
with:
vcpkgDirectory: "C:/vcpkg" # use VCPKG_INSTALLATION_ROOT of the image
doNotUpdateVcpkg: true
runVcpkgInstall: true
vcpkgJsonGlob: "cmake/vcpkg.json"
vcpkgConfigurationJsonGlob: "cmake/vcpkg-configuration.json"
@ -73,6 +72,7 @@ jobs:
flatc --version
$FLATC_PATH = Join-Path "$FLATC_DIR" "flatc.exe"
python onnxruntime/core/flatbuffers/schema/compile_schema.py --flatc "$FLATC_PATH"
python onnxruntime/lora/adapter_format/compile_schema.py --flatc "$FLATC_PATH"
shell: pwsh
- name: "Detect protoc"

View file

@ -2,7 +2,7 @@
"default-registry": {
"kind": "git",
"repository": "https://github.com/Microsoft/vcpkg",
"baseline": "3508985146f1b1d248c67ead13f8f54be5b4f5da"
"baseline": "c82f74667287d3dc386bce81e44964370c91a289"
},
"registries": []
}