From 1e7513559c8b47212be6208207670e5b26d6fc52 Mon Sep 17 00:00:00 2001 From: Ningyuan Li Date: Tue, 27 Jun 2023 13:21:32 +0900 Subject: [PATCH] updating build script --- .github/workflows/release.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5a489d0..062d8e9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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++' @@ -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