Skip to content

Commit 1e75135

Browse files
committed
updating build script
1 parent c63bb6e commit 1e75135

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ jobs:
4242
run: echo "CMAKE_BUILD_PARALLEL_LEVEL=$(sysctl -n hw.logicalcpu)" >> $GITHUB_ENV
4343

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

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

5658
- name: Make Tarball
57-
run: cmake -E tar cjvf arm-webos-linux-gnueabi_sdk-buildroot_darwin-x86_64.tar.bz2 \
58-
arm-webos-linux-gnueabi_sdk-buildroot
59+
run: |
60+
cmake -E tar cjvf arm-webos-linux-gnueabi_sdk-buildroot_darwin-x86_64.tar.bz2 \
61+
arm-webos-linux-gnueabi_sdk-buildroot
5962
working-directory: ${{github.workspace}}/build/dist
6063

6164
- name: Create Release

0 commit comments

Comments
 (0)