Skip to content

Commit 7a57ee9

Browse files
committed
ci(workflow): downgrade GCC toolchain from 15.2.0 to 14.2.0
Update the workflow to use GCC 14.2.0 toolchain instead of 15.2.0 for compatibility reasons
1 parent e75263a commit 7a57ee9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/sultan.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ jobs:
3737
verbose: 'true' # Enable detailed logging
3838

3939

40-
- name: Download and extract GCC 15.2.0 toolchain
40+
- name: Download and extract GCC 14.2.0 toolchain
4141
run: |
42-
echo "Downloading GCC 15.2.0 cross-compiler toolchain..."
43-
wget https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/15.2.0/x86_64-gcc-15.2.0-nolibc-aarch64-linux.tar.gz
42+
echo "Downloading GCC 14.2.0 cross-compiler toolchain..."
43+
wget https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/14.2.0/x86_64-gcc-14.2.0-nolibc-aarch64-linux.tar.gz
4444
echo "Extracting .gz file..."
45-
gunzip x86_64-gcc-15.2.0-nolibc-aarch64-linux.tar.gz
45+
gunzip x86_64-gcc-14.2.0-nolibc-aarch64-linux.tar.gz
4646
echo "Extracting .tar file..."
47-
tar -xf x86_64-gcc-15.2.0-nolibc-aarch64-linux.tar
48-
echo "GCC 15.2.0 toolchain extracted successfully"
47+
tar -xf x86_64-gcc-14.2.0-nolibc-aarch64-linux.tar
48+
echo "GCC 14.2.0 toolchain extracted successfully"
4949
5050
- name: Set CONFIG Environment Variable
5151
run: |
@@ -190,8 +190,8 @@ jobs:
190190
echo "Changing to configuration directory: $CONFIG..."
191191
cd "$CONFIG"
192192
193-
make CROSS_COMPILE=$GITHUB_WORKSPACE/gcc-15.2.0-nolibc/aarch64-linux/bin/aarch64-linux- CC=$GITHUB_WORKSPACE/gcc-15.2.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc -j$(nproc --all) ${{ inputs.codename }}_defconfig
194-
make CROSS_COMPILE=$GITHUB_WORKSPACE/gcc-15.2.0-nolibc/aarch64-linux/bin/aarch64-linux- CC=$GITHUB_WORKSPACE/gcc-15.2.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc -j$(nproc --all)
193+
make CROSS_COMPILE=$GITHUB_WORKSPACE/gcc-14.2.0-nolibc/aarch64-linux/bin/aarch64-linux- CC=$GITHUB_WORKSPACE/gcc-14.2.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc -j$(nproc --all) ${{ inputs.codename }}_defconfig
194+
make CROSS_COMPILE=$GITHUB_WORKSPACE/gcc-14.2.0-nolibc/aarch64-linux/bin/aarch64-linux- CC=$GITHUB_WORKSPACE/gcc-14.2.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc -j$(nproc --all)
195195
196196
- name: Copy Images
197197
run: |

0 commit comments

Comments
 (0)