/
githubmirror
/
efifs
Обзор
Документация
Войти
/
githubmirror
/
efifs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
.github/workflows/linux_gcc_gnu-efi.yml
100 строк
3 KB
Pete Batard
Update dependencies to latest
27 мар 2026, 16:03
Не верифицирован
27 мар 2026, 16:03
d60993f
Код
Авторство
О чём код?
name: Linux, gcc, gnu-efi on: push: paths-ignore: - '.gitignore' - '.gitattributes' - '**.cmd' - '!set_grub_cpu.cmd' - '**.md' - '**.sh' - '!set_grub_cpu.sh' - '**.txt' - '**.vbs' pull_request: paths-ignore: - '.gitignore' - '.gitattributes' - '**.cmd' - '!set_grub_cpu.cmd' - '**.md' - '**.sh' - '!set_grub_cpu.sh' - '**.txt' - '**.vbs' env: LOONGARCH64_TOOLCHAIN_TAG: 2025.08.08 LOONGARCH64_TOOLCHAIN_NAME: x86_64-cross-tools-loongarch64-binutils_2.45-gcc_15.1.0-glibc_2.42.tar.xz jobs: build: runs-on: ubuntu-24.04 strategy: matrix: arch: [x64, ia32, aa64, arm, riscv64, loongarch64] include: - arch: x64 pkg: gcc-mingw-w64-x86-64 tuple: x86_64-w64-mingw32- - arch: ia32 pkg: gcc-mingw-w64-i686 tuple: i686-w64-mingw32- - arch: aa64 pkg: gcc-aarch64-linux-gnu tuple: aarch64-linux-gnu- - arch: arm pkg: gcc-arm-linux-gnueabi tuple: arm-linux-gnueabi- - arch: riscv64 pkg: gcc-riscv64-linux-gnu tuple: riscv64-linux-gnu- - arch: loongarch64 pkg: gcc-multilib tuple: loongarch64-unknown-linux-gnu- steps: - name: Checkout repository and submodules uses: actions/checkout@v6 with: fetch-depth: 0 submodules: recursive - name: Install gcc toolchain run: | sudo apt-get update sudo apt-get install ${{ matrix.pkg }} if [[ "${{ matrix.arch }}" == "loongarch64" ]]; then curl -L -O https://github.com/loongson/build-tools/releases/download/${LOONGARCH64_TOOLCHAIN_TAG}/${LOONGARCH64_TOOLCHAIN_NAME} tar -xJf ${LOONGARCH64_TOOLCHAIN_NAME} echo "$PWD/cross-tools/bin" >> "$GITHUB_PATH" fi - name: Patch GRUB run: | cd grub git apply ../0001-GRUB-fixes.patch cd .. - name: Build drivers run: make ARCH=${{ matrix.arch }} CROSS_COMPILE=${{ matrix.tuple }} - name: Upload artifacts uses: actions/upload-artifact@v6 if: ${{ github.event_name == 'push' }} with: name: gcc_gnu-efi_${{ matrix.arch }} path: src/*.efi merge-artifacts: runs-on: ubuntu-latest needs: build if: ${{ github.event_name == 'push' }} steps: - name: Merge Artifacts uses: actions/upload-artifact/merge@v6 with: name: gcc_gnu-efi delete-merged: true