Skip to content

Commit

Permalink
fix compiler issues and comment to test thunder only
Browse files Browse the repository at this point in the history
  • Loading branch information
ksentak committed Aug 22, 2024
1 parent 21ffcb8 commit f8392de
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/release-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ jobs:
run: |
echo "CC=arm-linux-gnueabihf-gcc-9" >> $GITHUB_ENV
echo "CXX=arm-linux-gnueabihf-g++-9" >> $GITHUB_ENV
echo "CFLAGS='-O2 -march=armv7-a'" >> $GITHUB_ENV
echo "CXXFLAGS='-O2 -march=armv7-a'" >> $GITHUB_ENV
echo "LDFLAGS='-L/usr/arm-linux-gnueabihf/lib'" >> $GITHUB_ENV
echo "CFLAGS=-O2" >> $GITHUB_ENV
echo "CXXFLAGS=-O2" >> $GITHUB_ENV
echo "LDFLAGS=-L/usr/arm-linux-gnueabihf/lib" >> $GITHUB_ENV
echo "SYSROOT=/usr/arm-linux-gnueabihf" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=$SYSROOT/lib/pkgconfig" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$SYSROOT/lib" >> $GITHUB_ENV
Expand All @@ -97,35 +97,35 @@ jobs:
- name: Install jsonref
run: pip3 install jsonref

- name: Generate js sdk
run: npm run dist
# - name: Generate js sdk
# run: npm run dist

- name: Get version from package.json
run: |
RELEASE_VERSION=$(node -p "require('./package.json').version")
echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV
echo "build_cpp_source=true" >> $GITHUB_ENV
- name: Generate native sdk source
if: env.build_cpp_source == 'true'
run: |
.github/workflows/utils.sh generateSource
# - name: Generate native sdk source
# if: env.build_cpp_source == 'true'
# run: |
# .github/workflows/utils.sh generateSource

- name: Clone and Install Thunder
if: env.build_cpp_source == 'true'
id: install_thunder
run: |
.github/workflows/utils.sh cloneAndInstallThunder
- name: Build Core SDK CPP
if: env.build_cpp_source == 'true'
id: build_core_cpp
run: |
.github/workflows/utils.sh buildCoreCPPSDK $RELEASE_VERSION
# - name: Build Core SDK CPP
# if: env.build_cpp_source == 'true'
# id: build_core_cpp
# run: |
# .github/workflows/utils.sh buildCoreCPPSDK $RELEASE_VERSION

- name: Upload SDK artifact
if: success()
uses: actions/upload-artifact@v3
with:
name: core-sdk
path: firebolt-apis/src/sdks/core/build/cpp/src/*.tgz
# - name: Upload SDK artifact
# if: success()
# uses: actions/upload-artifact@v3
# with:
# name: core-sdk
# path: firebolt-apis/src/sdks/core/build/cpp/src/*.tgz

0 comments on commit f8392de

Please sign in to comment.