From 15dac5d820eaf8707a497c5c541ff17876043d4b Mon Sep 17 00:00:00 2001 From: pradeep Date: Tue, 27 Jul 2021 11:41:44 +0530 Subject: [PATCH] Fix source tarball generation github action job (cherry picked from commit 82d180b8eabf9a78ce608e10b56432449869b793) --- .github/workflows/release_src_artifact.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_src_artifact.yml b/.github/workflows/release_src_artifact.yml index 1a6de54..1da56f5 100644 --- a/.github/workflows/release_src_artifact.yml +++ b/.github/workflows/release_src_artifact.yml @@ -36,7 +36,9 @@ jobs: sudo apt-get install -y libfontconfig1-dev \ libglfw3-dev \ libfreeimage-dev \ - libboost1.68-dev + libboost1.68-dev \ + opencl-headers \ + ocl-icd-opencl-dev - name: CMake Configure run: | @@ -49,10 +51,11 @@ jobs: run: | cd $GITHUB_WORKSPACE rm -rf forge-full-${FG_VER}/.git - rm -rf forge-full-${FG_VER}/.github + rm -rf forge-full-${FG_VER}/.github/workflows rm forge-full-${FG_VER}/.gitmodules + mkdir -p forge-full-${FG_VER}/extern/cl2hpp cd forge-full-${FG_VER}/build/ - cp -r ./examples/third_party/cl2hpp ../extern/cl2hpp + cp -r ./examples/third_party/cl2hpp/* ../extern/cl2hpp/ shopt -s extglob rm -r !(extern) cd ./extern @@ -66,7 +69,10 @@ jobs: rm -rf ./${dep}/.gitmodules done shopt -u extglob - cd ../../.. + cp -r ./* ../../extern/ + cd ../../ + rm -r build + cd .. tar -cjf forge-full-${FG_VER}.tar.bz2 forge-full-${FG_VER}/ echo "UPLOAD_FILE=forge-full-${FG_VER}.tar.bz2" >> $GITHUB_ENV