Skip to content

Commit d1ff544

Browse files
committed
Fix Cache directory path
1 parent 9fc084f commit d1ff544

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/driver-cross-build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Cache
3232
uses: actions/cache@v1
3333
with:
34-
path: ${HOME}/repo/raspberrypi
34+
path: ~/repo/raspberrypi
3535
key: ${{ runner.os }}-raspberrypi-cross-build-${{ matrix.env.CONFIG_FILE }}-${{ matrix.env.RPI_LINUX_COMMIT_HASH }}
3636
restore-keys: |
3737
${{ runner.os }}-raspberrypi-cross-build-
@@ -53,16 +53,16 @@ jobs:
5353
RPI_LINUX_COMMIT_HASH: ${{ matrix.env.RPI_LINUX_COMMIT_HASH }}
5454
run: |
5555
if [ -e ${HOME}/repo/raspberrypi/linux ]; then (cd ${HOME}/repo/raspberrypi/linux && git fetch origin && git checkout ${RPI_LINUX_VER} && git pull); else (cd ${HOME}/repo/raspberrypi && git clone -b ${RPI_LINUX_VER} https://github.com/raspberrypi/linux.git); fi
56-
cd ${HOME}/repo/raspberrypi/linux && make clean && git reset --hard HEAD && git checkout $RPI_LINUX_COMMIT_HASH
56+
cd ${HOME}/repo/raspberrypi/linux && make clean && git reset --hard HEAD && git checkout ${RPI_LINUX_COMMIT_HASH}
5757
cp "${REPOSITORY_DIR}/.test/${CONFIG_FILE}" ${HOME}/repo/raspberrypi/linux/.config
58-
make CROSS_COMPILE=$HOME/repo/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- ARCH=arm oldconfig
59-
make CROSS_COMPILE=$HOME/repo/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- ARCH=arm -j 8
58+
make CROSS_COMPILE=${HOME}/repo/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- ARCH=arm oldconfig
59+
make CROSS_COMPILE=${HOME}/repo/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- ARCH=arm -j 8
6060
6161
- name: Build kernel module
6262
env:
6363
REPOSITORY_DIR: ${{ steps.cross-build.outputs.repository-dir }}
6464
DRIVER_SRC_DIR: ${{ steps.cross-build.outputs.driver-src-dir }}
6565
run: |
66-
cd $DRIVER_SRC_DIR
67-
make -f $REPOSITORY_DIR/.test/Makefile.crosscompile
68-
make -f $REPOSITORY_DIR/.test/Makefile.crosscompile clean
66+
cd ${DRIVER_SRC_DIR}
67+
make -f ${REPOSITORY_DIR}/.test/Makefile.crosscompile
68+
make -f ${REPOSITORY_DIR}/.test/Makefile.crosscompile clean

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy