Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing github docker runner #383

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/CI-Linux-CUDA-Docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
27 changes: 14 additions & 13 deletions .github/workflows/build-test-lin-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -73,6 +73,7 @@ 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!!!
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
container: ghcr.io/kumaakh/aprapipes-build-x86-ubutu18.04-cuda:last-good
defaults:
run:
Expand Down Expand Up @@ -134,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
Expand Down
Loading