From 93a97da6f0b821c73c4fb3d755f405a8d12f2618 Mon Sep 17 00:00:00 2001 From: jmacey Date: Wed, 10 May 2023 09:28:21 +0100 Subject: [PATCH] updated linux CI to try and generate zip for testing demos --- .github/workflows/linux.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index eafcd3f0..4f7e2d2b 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -33,9 +33,10 @@ jobs: - name: Run build-wrapper run: | - cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake -DNO_OIIO=1 -DADD_COVERAGE=1 -DVCPKG_MANIFEST_DIR=./manifest/ci/ + cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake -DNO_OIIO=1 -DADD_COVERAGE=1 -DVCPKG_MANIFEST_DIR=./manifest/ci/ -DCMAKE_INSTALL_PREFIX:PATH=/tmp/NGL/ cmake --build build/ --target clean build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build/ --config Release + cmake --build build/ --target install - name: Test run: | cd build @@ -53,3 +54,13 @@ jobs: sonar-scanner \ --define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}" \ --define sonar.coverageReportPaths=coverage.xml + - name : zip-output + - uses: vimtor/action-zip@v1 + with: + files: /tmp/NGL + recursive: true + dest: NGL-Linux.zip + - uses: actions/upload-artifact@v1 + with: + name: NGL-Linux.zip + path: ${{ github.workspace }}/NGL-Linux.zip \ No newline at end of file