8
8
push :
9
9
branches :
10
10
- main
11
- - action_branch
12
-
11
+ pull_request :
12
+ branches :
13
+ - main
13
14
14
15
# Allows you to run this workflow manually from the Actions tab
15
16
workflow_dispatch :
61
62
Patch-Linux :
62
63
# tries to apply the patch to each version
63
64
needs : [generate-matrix]
64
- runs-on : [ubuntu-latest]
65
+ runs-on : ${{ matrix.architecture }}
65
66
# strategy matrix to run jobs in parallel for each version
66
67
strategy :
67
68
matrix :
@@ -80,10 +81,10 @@ jobs:
80
81
sudo apt-get -y update
81
82
sudo apt-get -y install build-essential libncurses-dev bc bison flex libssl-dev libelf-dev
82
83
sudo apt-get -y install fakeroot rsync git kmod cpio
83
- if [[ $ARCHITECTURE == "arm64" ]]
84
- then
85
- sudo apt-get -y install gcc-aarch64-linux-gnu
86
- fi
84
+ # if [[ $ARCHITECTURE == "arm64" ]]
85
+ # then
86
+ # sudo apt-get -y install gcc-aarch64-linux-gnu
87
+ # fi
87
88
88
89
- name : Clone linux
89
90
run : |
@@ -101,7 +102,7 @@ jobs:
101
102
for i in ../*.patch
102
103
do
103
104
git config user.name "CI Bot"
104
- git config user.email "ci-bot@nubis-pc.eu "
105
+ git config user.email "ci-bot@nubificus.co.uk "
105
106
git am $i
106
107
done
107
108
echo ::set-output name=patch_exit_code::0
@@ -120,16 +121,19 @@ jobs:
120
121
if [[ $ARCHITECTURE == "arm64" ]]
121
122
then
122
123
wget https://gist.githubusercontent.com/ananos/dc2e2323f1b9bcb93c24f307e367ae80/raw/a001e5dd3b02fb79001296b1f9ae39270288f8d9/aarch64_config -O arch/arm64/configs/kvmm.config
123
- touch .config
124
- CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 make kvmm.config
125
- CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 make deb-pkg -j $(nproc)
126
- sudo mv ../*linux-image*-dbg*.deb artifacts/$ARCHITECTURE/$LINUX_VERSION/linux-image-$LINUX_VERSION-dbg-latest.deb
124
+ # touch .config
125
+ # CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 make kvmm.config
126
+ # CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 make deb-pkg -j $(nproc)
127
+ # sudo mv ../*linux-image*-dbg*.deb artifacts/$ARCHITECTURE/$LINUX_VERSION/linux-image-$LINUX_VERSION-dbg-latest.deb
127
128
else
128
129
wget https://gist.githubusercontent.com/ananos/4749c77111a560503bd9725409d82800/raw/3e65dec157a7a19d965675054ef85ce8bc06c74b/basic%2520kernel%2520config -O arch/x86/configs/kvmm.config
129
- touch .config
130
- make kvmm.config
131
- make deb-pkg -j $(nproc)
130
+ # touch .config
131
+ # make kvmm.config
132
+ # make deb-pkg -j $(nproc)
132
133
fi
134
+ touch .config
135
+ make kvmm.config
136
+ make deb-pkg -j $(nproc)
133
137
echo ::set-output name=build_exit_code::$?
134
138
sudo mv ../*linux-headers*.deb artifacts/$ARCHITECTURE/$LINUX_VERSION/linux-headers-$LINUX_VERSION-latest.deb
135
139
sudo mv ../*linux-image*.deb artifacts/$ARCHITECTURE/$LINUX_VERSION/linux-image-$LINUX_VERSION-latest.deb
0 commit comments