File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 26
26
- name : Generate cache keys
27
27
id : get_ref_keys
28
28
run : |
29
- echo 'ccache=ccache-'$(date -u +%Y-m%M ) >> $GITHUB_OUTPUT
29
+ echo 'ccache=ccache-'$(date -u +%Y-%m ) >> $GITHUB_OUTPUT
30
30
- name : Retrieve ccache cache
31
- uses : actions/cache@v4
31
+ uses : actions/cache@v4.2.3
32
32
with :
33
33
path : ~/.ccache
34
34
key : ${{ steps.get_ref_keys.outputs.ccache }}-${{ github.ref }}
56
56
id : build
57
57
run : |
58
58
set -x
59
- mkdir -p ~/.ccache
60
59
BASE_DIR=${PWD}
61
60
sudo apt-get update -q -y
62
61
sudo apt-get install -y apt-utils gcc meson sudo make dialog ccache git build-essential software-properties-common
@@ -117,7 +116,6 @@ jobs:
117
116
source ${BASE_DIR}/artifacts/env
118
117
DISTRO=ubuntu-`lsb_release -rs`
119
118
echo "DISTRO=${DISTRO}" >> ${BASE_DIR}/artifacts/env
120
- echo "cache_dir = ~/.ccache" > ~/.ccache/ccache.conf
121
119
ccache -p
122
120
git config --global --add safe.directory "${PWD}"
123
121
sudo APT_ARGS='-y -q' make install-deps
@@ -137,6 +135,7 @@ jobs:
137
135
echo "Homepage: https://wiki.fd.io/view/VPP" >> DEBIAN/control
138
136
echo "Description: Vector Packet Processing (VPP) for Octeon10" >> DEBIAN/control
139
137
cd -
138
+ rm -rf "${PWD}/install/~" "${PWD}/install/home"
140
139
mv "${PWD}/install" "${PWD}/vpp-${PKG_VERSION_NAME}-cn10k${PKG_POSTFIX}_${MRVL_PKG_VERSION}_arm64"
141
140
dpkg --build "vpp-${PKG_VERSION_NAME}-cn10k${PKG_POSTFIX}_${MRVL_PKG_VERSION}_arm64"
142
141
cp "vpp-${PKG_VERSION_NAME}-cn10k${PKG_POSTFIX}_${MRVL_PKG_VERSION}_arm64.deb" ${BASE_DIR}/artifacts/.
Original file line number Diff line number Diff line change 25
25
- name : Generate cache keys
26
26
id : get_ref_keys
27
27
run : |
28
- echo 'ccache=ccache-'$(date -u +%Y-m%M ) >> $GITHUB_OUTPUT
28
+ echo 'ccache=ccache-'$(date -u +%Y-%m ) >> $GITHUB_OUTPUT
29
29
- name : Retrieve ccache cache
30
- uses : actions/cache@v4
30
+ uses : actions/cache@v4.2.3
31
31
with :
32
32
path : ~/.ccache
33
33
key : ${{ steps.get_ref_keys.outputs.ccache }}-${{ github.ref }}
61
61
id : build
62
62
run : |
63
63
set -x
64
- mkdir -p ~/.ccache
65
64
BASE_DIR=${PWD}
66
65
sudo apt-get update -q -y
67
66
sudo apt-get install -y apt-utils gcc meson sudo make dialog ccache git build-essential software-properties-common
@@ -123,7 +122,6 @@ jobs:
123
122
source ${BASE_DIR}/artifacts/env
124
123
DISTRO=ubuntu-`lsb_release -rs`
125
124
echo "DISTRO=${DISTRO}" >> ${BASE_DIR}/artifacts/env
126
- echo "cache_dir = ~/.ccache" > ~/.ccache/ccache.conf
127
125
ccache -p
128
126
git config --global --add safe.directory "${PWD}"
129
127
sudo APT_ARGS='-y -q' make install-deps
@@ -141,6 +139,7 @@ jobs:
141
139
echo "Homepage: https://wiki.fd.io/view/VPP" >> DEBIAN/control
142
140
echo "Description: Vector Packet Processing (VPP) for Octeon9" >> DEBIAN/control
143
141
cd -
142
+ rm -rf "${PWD}/install/~" "${PWD}/install/home"
144
143
mv "${PWD}/install" "${PWD}/vpp-${PKG_VERSION_NAME}-cn9k${PKG_POSTFIX}_${MRVL_PKG_VERSION}_arm64"
145
144
dpkg --build "vpp-${PKG_VERSION_NAME}-cn9k${PKG_POSTFIX}_${MRVL_PKG_VERSION}_arm64"
146
145
cp "vpp-${PKG_VERSION_NAME}-cn9k${PKG_POSTFIX}_${MRVL_PKG_VERSION}_arm64.deb" ${BASE_DIR}/artifacts/.
You can’t perform that action at this time.
0 commit comments