Skip to content

Commit

Permalink
fix ci compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
ywy2090 committed Oct 19, 2024
1 parent 3006298 commit 46361a2
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/workflow-self-hosted-arm-static-bulid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- master
types: [closed]

env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/workflow-self-hosted-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
release:
types: [push]

env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- master
types: [closed]

env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/workflow-self-hosted-centos-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

jobs:
build_centos:
name: centos ci upload
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/workflow-self-hosted-centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

jobs:
build_centos:
name: centos ci check
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/workflow-self-hosted-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

jobs:
build_mac:
name: mac ci check
Expand All @@ -29,7 +32,7 @@ jobs:
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
distribution: 'zulu'
distribution: "zulu"
java-version: 8
java-package: jdk

Expand All @@ -46,7 +49,7 @@ jobs:
run: |
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE make test
- name: prepare RPCAPI Tests
run: cd tools && bash .ci/rpcapi_ci_prepare.sh

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

jobs:
build_ubuntu:
name: ubuntu static build
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/workflow-self-hosted-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

jobs:
build_ubuntu:
name: ubuntu ci check
Expand Down
4 changes: 2 additions & 2 deletions bcos-sdk/tests/unittests/event/EventSubTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ BOOST_AUTO_TEST_CASE(test_EventSub_unsubscribeEvent)
{
// task is running
auto session = std::make_shared<bcos::cppsdk::test::WsSessionFake>(
taskGroup, "test_EventSub_unsubscribeEvent");
taskGroup);
task->setSession(session);

std::string resp = "{}";
Expand All @@ -190,7 +190,7 @@ BOOST_AUTO_TEST_CASE(test_EventSub_unsubscribeEvent)
{
// task is running
auto session = std::make_shared<bcos::cppsdk::test::WsSessionFake>(
taskGroup, "test_EventSub_unsubscribeEvent");
taskGroup);

task->setSession(session);

Expand Down

0 comments on commit 46361a2

Please sign in to comment.