-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 637de0a
Showing
5 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: build | ||
on: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: | | ||
https://github.com/loongson/build-tools/releases/download/2023.08.08/x86_64-cross-tools-loongarch64-binutils_2.41-gcc_13.2.0.tar.xz | ||
tar -vxf x86_64-cross-tools-loongarch64-binutils_2.41-gcc_13.2.0.tar.xz -C /opt | ||
- run: | | ||
export PATH=/opt/cross-tools/bin:$PATH | ||
export PACKAGES_PATH=$PWD/edk2:$PWD/edk2-platforms:$PWD/edk2-non-osi | ||
export GCC5_LOONGARCH64_PREFIX=loongarch64-unknown-linux-gnu- | ||
. edk2/edksetup.sh | ||
make -C edk2/BaseTools | ||
build --buildtarget=RELEASE --tagname=GCC5 --arch=LOONGARCH64 --platform=Platform/Loongson/LoongArchQemuPkg/Loongson.dsc | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: firmware | ||
path: Build/LoongArchQemu/RELEASE_GCC5/FV/*.fd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[submodule "edk2"] | ||
path = edk2 | ||
url = https://github.com/tianocore/edk2.git | ||
[submodule "edk2-non-osi"] | ||
path = edk2-non-osi | ||
url = https://github.com/tianocore/edk2-non-osi.git | ||
[submodule "edk2-platforms"] | ||
path = edk2-platforms | ||
url = https://github.com/tianocore/edk2-platforms.git |
Submodule edk2-non-osi
added at
054cac
Submodule edk2-platforms
added at
73cfdc