Skip to content

Commit

Permalink
chore: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Nov 28, 2023
1 parent 6426c31 commit c636578
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 12 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/generate-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,9 @@ jobs:
generate-code: true
generate-comment: false
generate-code-command: |
echo ${LLVM_DOWNLOAD_URL}
sh terra-types.sh
sh terra-binding.sh
env:
LLVM_DOWNLOAD_URL: |
https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.6/clang+llvm-15.0.6-x86_64-linux-gnu-ubuntu-18.04.tar.xz
- name: Create PR
uses: AgoraIO-Extensions/actions/.github/actions/pr@main
Expand Down
6 changes: 3 additions & 3 deletions scripts/terra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"terra-binding": "sh terra-binding.sh"
},
"dependencies": {
"@agoraio-extensions/cxx-parser": "git@github.com:AgoraIO-Extensions/terra.git#head=main&workspace=cxx-parser",
"@agoraio-extensions/terra": "git@github.com:AgoraIO-Extensions/terra.git#head=main&workspace=terra",
"@agoraio-extensions/terra-core": "git@github.com:AgoraIO-Extensions/terra.git#head=main&workspace=terra-core",
"@agoraio-extensions/cxx-parser": "git@github.com:AgoraIO-Extensions/terra.git#head=dev/ci-test&workspace=cxx-parser",
"@agoraio-extensions/terra": "git@github.com:AgoraIO-Extensions/terra.git#head=dev/ci-test&workspace=terra",
"@agoraio-extensions/terra-core": "git@github.com:AgoraIO-Extensions/terra.git#head=dev/ci-test&workspace=terra-core",
"@agoraio-extensions/terra_shared_configs": "git@github.com:AgoraIO-Extensions/terra_shared_configs.git#head=main",
"@types/js-yaml": "^4.0.8",
"@types/node": "^18.17.9",
Expand Down
1 change: 0 additions & 1 deletion scripts/terra/terra-types.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ set -e
set -x
MY_PATH=$(realpath $(dirname "$0"))
OUTPUT_DIR=$(realpath ${MY_PATH}/../../packages/@iris/rtc/generate)
echo ${LLVM_DOWNLOAD_URL}
find ${OUTPUT_DIR} -type f -delete

# packages/@iris/rtc/generate
Expand Down
29 changes: 24 additions & 5 deletions scripts/terra/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ __metadata:
version: 8
cacheKey: 10c0

"@agoraio-extensions/cxx-parser@git@github.com:AgoraIO-Extensions/terra.git#head=dev/ci-test&workspace=cxx-parser":
version: 0.1.9
resolution: "@agoraio-extensions/cxx-parser@git@github.com:AgoraIO-Extensions/terra.git#workspace=cxx-parser&commit=f5f19611ea6c4206bc2d1e1cca1218aa7c59a4e0"
dependencies:
glob: "npm:^10.3.4"
yaml: "npm:^2.1.3"
peerDependencies:
"@agoraio-extensions/terra-core": "*"
checksum: dc7ae569e5da94068c20c614f67b4980f4506f3dd5735cdb3c2bb8c71de3c77fb2f0f51ea6a9bf257fcc19bb7ff0c1fc655c1556587b43e49af83335aff0d751
languageName: node
linkType: hard

"@agoraio-extensions/cxx-parser@git@github.com:AgoraIO-Extensions/terra.git#head=main&workspace=cxx-parser":
version: 0.1.9
resolution: "@agoraio-extensions/cxx-parser@git@github.com:AgoraIO-Extensions/terra.git#workspace=cxx-parser&commit=b6d59859e4a771a417f177ec0c6775aea4a454e6"
Expand All @@ -17,16 +29,23 @@ __metadata:
languageName: node
linkType: hard

"@agoraio-extensions/terra-core@git@github.com:AgoraIO-Extensions/terra.git#head=dev/ci-test&workspace=terra-core":
version: 0.1.5
resolution: "@agoraio-extensions/terra-core@git@github.com:AgoraIO-Extensions/terra.git#workspace=terra-core&commit=f5f19611ea6c4206bc2d1e1cca1218aa7c59a4e0"
checksum: d7113225ab004b2ff09de3c3718262925dc335f5ffb8ac2800bb96bfb2ad67a307063a425bd14654356d804586a785efe3856462e1087472463eb233a6793e44
languageName: node
linkType: hard

"@agoraio-extensions/terra-core@git@github.com:AgoraIO-Extensions/terra.git#head=main&workspace=terra-core":
version: 0.1.5
resolution: "@agoraio-extensions/terra-core@git@github.com:AgoraIO-Extensions/terra.git#workspace=terra-core&commit=b6d59859e4a771a417f177ec0c6775aea4a454e6"
checksum: d7113225ab004b2ff09de3c3718262925dc335f5ffb8ac2800bb96bfb2ad67a307063a425bd14654356d804586a785efe3856462e1087472463eb233a6793e44
languageName: node
linkType: hard

"@agoraio-extensions/terra@git@github.com:AgoraIO-Extensions/terra.git#head=main&workspace=terra":
"@agoraio-extensions/terra@git@github.com:AgoraIO-Extensions/terra.git#head=dev/ci-test&workspace=terra":
version: 0.1.5
resolution: "@agoraio-extensions/terra@git@github.com:AgoraIO-Extensions/terra.git#workspace=terra&commit=b6d59859e4a771a417f177ec0c6775aea4a454e6"
resolution: "@agoraio-extensions/terra@git@github.com:AgoraIO-Extensions/terra.git#workspace=terra&commit=f5f19611ea6c4206bc2d1e1cca1218aa7c59a4e0"
dependencies:
commander: "npm:^9.4.1"
mustache: "npm:^4.2.0"
Expand Down Expand Up @@ -479,9 +498,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "terra-generate@workspace:."
dependencies:
"@agoraio-extensions/cxx-parser": "git@github.com:AgoraIO-Extensions/terra.git#head=main&workspace=cxx-parser"
"@agoraio-extensions/terra": "git@github.com:AgoraIO-Extensions/terra.git#head=main&workspace=terra"
"@agoraio-extensions/terra-core": "git@github.com:AgoraIO-Extensions/terra.git#head=main&workspace=terra-core"
"@agoraio-extensions/cxx-parser": "git@github.com:AgoraIO-Extensions/terra.git#head=dev/ci-test&workspace=cxx-parser"
"@agoraio-extensions/terra": "git@github.com:AgoraIO-Extensions/terra.git#head=dev/ci-test&workspace=terra"
"@agoraio-extensions/terra-core": "git@github.com:AgoraIO-Extensions/terra.git#head=dev/ci-test&workspace=terra-core"
"@agoraio-extensions/terra_shared_configs": "git@github.com:AgoraIO-Extensions/terra_shared_configs.git#head=main"
"@types/js-yaml": "npm:^4.0.8"
"@types/node": "npm:^18.17.9"
Expand Down

0 comments on commit c636578

Please sign in to comment.