Skip to content

Commit

Permalink
updating build script
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Jun 27, 2023
1 parent c63bb6e commit 1e75135
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ jobs:
run: echo "CMAKE_BUILD_PARALLEL_LEVEL=$(sysctl -n hw.logicalcpu)" >> $GITHUB_ENV

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
run: |
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
-DCMAKE_INSTALL_PREFIX=${{github.workspace}}/build/dist/arm-webos-linux-gnueabi_sdk-buildroot
env:
CC: '/opt/local/bin/gcc'
CXX: '/opt/local/bin/g++'
Expand All @@ -51,11 +53,12 @@ jobs:
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Install
run: cmake --install ${{github.workspace}}/build --prefix ${{github.workspace}}/build/dist/arm-webos-linux-gnueabi_sdk-buildroot
run: cmake --install ${{github.workspace}}/build

- name: Make Tarball
run: cmake -E tar cjvf arm-webos-linux-gnueabi_sdk-buildroot_darwin-x86_64.tar.bz2 \
arm-webos-linux-gnueabi_sdk-buildroot
run: |
cmake -E tar cjvf arm-webos-linux-gnueabi_sdk-buildroot_darwin-x86_64.tar.bz2 \
arm-webos-linux-gnueabi_sdk-buildroot
working-directory: ${{github.workspace}}/build/dist

- name: Create Release
Expand Down

0 comments on commit 1e75135

Please sign in to comment.