Skip to content

Commit 13b4963

Browse files
committed
ci: Update release workflow from GCC5 to GCC toolchain
The upstream edk2 project renamed the GCC5 toolchain to GCC in commits b38fea5 and c20483b. This caused OvmfPkg/build.sh to select the GCC toolchain, producing output in DEBUG_GCC/, while the workflow still looked for artifacts in DEBUG_GCC5/. As a result, the x86-64 build succeeded but no artifact was uploaded. Update the AArch64 build and both artifact paths to use GCC consistently. Signed-off-by: Bo Chen <bchen@crusoe.ai>
1 parent 86351a8 commit 13b4963

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
uses: actions/upload-artifact@v4
3434
with:
3535
name: cloudhv-x64
36-
path: Build/CloudHvX64/DEBUG_GCC5/FV/CLOUDHV.fd
36+
path: Build/CloudHvX64/DEBUG_GCC/FV/CLOUDHV.fd
3737

3838
build-aarch64:
3939
name: Build AArch64
@@ -51,15 +51,15 @@ jobs:
5151
run: |
5252
source edksetup.sh
5353
make -C BaseTools
54-
export GCC5_AARCH64_PREFIX=aarch64-linux-gnu-
55-
build -p ArmVirtPkg/ArmVirtCloudHv.dsc -a AARCH64 -t GCC5 -b DEBUG \
54+
export GCC_AARCH64_PREFIX=aarch64-linux-gnu-
55+
build -p ArmVirtPkg/ArmVirtCloudHv.dsc -a AARCH64 -t GCC -b DEBUG \
5656
--pcd gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy=0xC000000000007FD1
5757
- name: Upload AArch64 artifact
5858
if: github.event_name == 'create' && github.event.ref_type == 'tag'
5959
uses: actions/upload-artifact@v4
6060
with:
6161
name: cloudhv-aarch64
62-
path: Build/ArmVirtCloudHv-AARCH64/DEBUG_GCC5/FV/CLOUDHV_EFI.fd
62+
path: Build/ArmVirtCloudHv-AARCH64/DEBUG_GCC/FV/CLOUDHV_EFI.fd
6363

6464
release:
6565
name: Release

0 commit comments

Comments
 (0)