Skip to content

Commit

Permalink
fixup! feat(core): CI pipeline to build and test CPP SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaKasar committed Oct 11, 2024
1 parent 5d82780 commit d043901
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/cxx-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ jobs:
env:
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }} # <-- allow npm publish for each workspace
run: 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc'

- name: Cache npm dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: deps-node-modules-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
run: npm ci

Expand Down Expand Up @@ -98,9 +104,9 @@ jobs:
container:
image: kevinshahfws/node-c:3.0
steps:
# # Checkout/install project
# - name: Checkout
# uses: actions/checkout@v2
# Checkout/install project
- name: Checkout
uses: actions/checkout@v2

- name: Download Core SDK
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -158,7 +164,7 @@ jobs:
.github/workflows/utils.sh buildManageCPPSDK
dicovery_sdk:
name: Build Dicovery SDK
name: Build Discovery SDK
needs: [thunder, openrpc]
runs-on: ubuntu-latest
container:
Expand All @@ -167,7 +173,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Download Dicovery SDK
- name: Download Discovery SDK
uses: actions/download-artifact@v3
with:
name: discovery-sdk
Expand All @@ -184,9 +190,9 @@ jobs:
cd /__w/discovery-sdk/
npm install
- name: Build CXX Dicovery SDK
- name: Build CXX Discovery SDK
run: |
.github/workflows/utils.sh buildDicoveryCPPSDK
.github/workflows/utils.sh buildDiscoveryCPPSDK
#==============================================================

Expand Down

0 comments on commit d043901

Please sign in to comment.