From bdefc99c756e83a238fa5d13168f6a822eab619e Mon Sep 17 00:00:00 2001 From: Ashu7950 Date: Tue, 13 Aug 2024 15:11:01 +0530 Subject: [PATCH 1/5] Fixing github docker runner --- .github/workflows/build-test-lin-container.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test-lin-container.yml b/.github/workflows/build-test-lin-container.yml index 34e0260ca..0d612f9bc 100644 --- a/.github/workflows/build-test-lin-container.yml +++ b/.github/workflows/build-test-lin-container.yml @@ -73,7 +73,8 @@ jobs: env: TEST_EXE: build/aprapipesut CMAKE_TC_FILE: '../vcpkg/scripts/buildsystems/vcpkg.cmake' # Note: naming this variable as CMAKE_TOOLCHAIN_FILE can cause havoc!!! - container: ghcr.io/kumaakh/aprapipes-build-x86-ubutu18.04-cuda:last-good + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + container: ghcr.io/kumaakh/aprapipes-build-x86-ubutu18.04-cuda:last-good defaults: run: shell: bash From 40624d7d01f635ba2b838baa03dec54ed2ca40e4 Mon Sep 17 00:00:00 2001 From: Ashu7950 Date: Tue, 13 Aug 2024 15:16:11 +0530 Subject: [PATCH 2/5] checkout error fix --- .github/workflows/build-test-lin-container.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-test-lin-container.yml b/.github/workflows/build-test-lin-container.yml index 0d612f9bc..80c5fde44 100644 --- a/.github/workflows/build-test-lin-container.yml +++ b/.github/workflows/build-test-lin-container.yml @@ -74,7 +74,7 @@ jobs: TEST_EXE: build/aprapipesut CMAKE_TC_FILE: '../vcpkg/scripts/buildsystems/vcpkg.cmake' # Note: naming this variable as CMAKE_TOOLCHAIN_FILE can cause havoc!!! ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true - container: ghcr.io/kumaakh/aprapipes-build-x86-ubutu18.04-cuda:last-good + container: ghcr.io/kumaakh/aprapipes-build-x86-ubutu18.04-cuda:last-good defaults: run: shell: bash From 062b6cec66f2932019c2fc53c0f78161543c5519 Mon Sep 17 00:00:00 2001 From: Ashu7950 Date: Tue, 13 Aug 2024 16:27:07 +0530 Subject: [PATCH 3/5] made cache-path as none in CI-linux-cuda-docker.yml --- .github/workflows/CI-Linux-CUDA-Docker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI-Linux-CUDA-Docker.yml b/.github/workflows/CI-Linux-CUDA-Docker.yml index 7b077cc1b..b99c2c1a2 100644 --- a/.github/workflows/CI-Linux-CUDA-Docker.yml +++ b/.github/workflows/CI-Linux-CUDA-Docker.yml @@ -31,7 +31,8 @@ jobs: cuda: 'ON' prep-cmd: 'echo skipping builder prep as I can not sudo' skip-test: true - cache-path: '/github/home/.cache/vcpkg/archives' + # cache-path: '/github/home/.cache/vcpkg/archives' + cache-path: './none' nProc: 3 From 3117e3ad62f324b86b2a879f283ff20270203755 Mon Sep 17 00:00:00 2001 From: Ashu7950 Date: Tue, 13 Aug 2024 16:50:59 +0530 Subject: [PATCH 4/5] comment caching steps --- .../workflows/build-test-lin-container.yml | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-test-lin-container.yml b/.github/workflows/build-test-lin-container.yml index 80c5fde44..5f334d773 100644 --- a/.github/workflows/build-test-lin-container.yml +++ b/.github/workflows/build-test-lin-container.yml @@ -48,11 +48,11 @@ on: description: 'this workflow is called for a prep phase: it will split vcpkg install into 2 portions to cache and save' default: false required: false - cache-path: - type: string - description: 'the folder which needs to be cached e.g. .cache/vcpkg' - default: ${{ '~/.cache/vcpkg/archives' }} - required: false + # cache-path: + # type: string + # description: 'the folder which needs to be cached e.g. .cache/vcpkg' + # default: ${{ '~/.cache/vcpkg/archives' }} + # required: false cmake-conf-cmd: type: string description: 'command needed for installing and configuring cmake' @@ -135,14 +135,14 @@ jobs: # ls ${{ inputs.cache-path }} || true # continue-on-error: true - - name: Cache dependencies for fast cloud build - id: cache-all - uses: actions/cache@v3 - with: - path: | - ${{ inputs.cache-path }} - key: ${{ inputs.flav }}-4-${{ hashFiles( 'base/vcpkg.json', 'vcpkg/baseline.json', 'submodule_ver.txt') }} - restore-keys: ${{ inputs.flav }}- + # - name: Cache dependencies for fast cloud build + # id: cache-all + # uses: actions/cache@v3 + # with: + # path: | + # ${{ inputs.cache-path }} + # key: ${{ inputs.flav }}-4-${{ hashFiles( 'base/vcpkg.json', 'vcpkg/baseline.json', 'submodule_ver.txt') }} + # restore-keys: ${{ inputs.flav }}- - name: Make build folder run: mkdir -p build From dfa50a7f8752c22ebbb795e3a7e263989ff5953d Mon Sep 17 00:00:00 2001 From: Ashu7950 Date: Tue, 13 Aug 2024 16:52:25 +0530 Subject: [PATCH 5/5] comment caching --- .github/workflows/CI-Linux-CUDA-Docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI-Linux-CUDA-Docker.yml b/.github/workflows/CI-Linux-CUDA-Docker.yml index b99c2c1a2..cd3302def 100644 --- a/.github/workflows/CI-Linux-CUDA-Docker.yml +++ b/.github/workflows/CI-Linux-CUDA-Docker.yml @@ -32,7 +32,7 @@ jobs: prep-cmd: 'echo skipping builder prep as I can not sudo' skip-test: true # cache-path: '/github/home/.cache/vcpkg/archives' - cache-path: './none' + # cache-path: './none' nProc: 3