Clean up Linux/gcc and Windows/VS2022 workflow files

Signed-off-by: Pete Batard <pete@akeo.ie>
This commit is contained in:
Pete Batard 2024-05-09 12:05:20 +01:00
parent 399313e148
commit 36d3313805
No known key found for this signature in database
GPG Key ID: 38E0CF5E69EDD671
3 changed files with 49 additions and 46 deletions

View File

@ -1,39 +0,0 @@
name: Linux, gcc
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- { arch: ia32, gcc: multilib, cross_compile: }
- { arch: x86_64, gcc: multilib, cross_compile: }
- { arch: aa64, gcc: aarch64-linux-gnu, cross_compile: aarch64-linux-gnu- }
- { arch: arm, gcc: arm-linux-gnueabihf, cross_compile: arm-linux-gnueabihf- }
- { arch: riscv64, gcc: riscv64-linux-gnu, cross_compile: riscv64-linux-gnu- }
- { arch: mips64el, gcc: mips64el-linux-gnuabi64, cross_compile: mips64el-linux-gnuabi64- }
# - { arch: loongarch64, gcc: loongarch64-linux-gnu, cross_compile: loongarch64-linux-gnu- }
steps:
- name: Install toolchain
run: |
sudo apt-get update
sudo apt-get install gcc-${{ matrix.gcc }}
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Build
run: make ARCH=${{ matrix.arch }} CROSS_COMPILE=${{ matrix.cross_compile }}

48
.github/workflows/linux-gcc.yml vendored Normal file
View File

@ -0,0 +1,48 @@
name: Linux, gcc
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [ia32, x64, aa64, arm, riscv64, mips64]
include:
- arch: ia32
gcc: multilib
cross_compile:
- arch: x64
gcc: multilib
cross_compile:
- arch: aa64
gcc: aarch64-linux-gnu
cross_compile: aarch64-linux-gnu-
- arch: arm
gcc: arm-linux-gnueabihf
cross_compile: arm-linux-gnueabihf-
- arch: riscv64
gcc: riscv64-linux-gnu
cross_compile: riscv64-linux-gnu-
- arch: mips64
gcc: mips64el-linux-gnuabi64
cross_compile: mips64el-linux-gnuabi64-
# - arch: loongarch64
# gcc: loongarch64-linux-gnu
# cross_compile: loongarch64-linux-gnu-
steps:
- name: Install toolchain
run: |
sudo apt-get update
sudo apt-get install gcc-${{ matrix.gcc }}
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Build
run: make ARCH=${{ matrix.arch }} CROSS_COMPILE=${{ matrix.cross_compile }}

View File

@ -1,12 +1,6 @@
name: Windows, VS2022
on:
push:
branches:
- master
pull_request:
branches:
- master
on: [push, pull_request]
env:
SOLUTION_FILE_PATH: ./gnu-efi.sln