mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 23:44:31 +00:00
Updated github workflows
This commit is contained in:
parent
d5def13761
commit
2a21b26338
37
.github/workflows/makefile.yml
vendored
37
.github/workflows/makefile.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
||||
folder: doxygen-doc
|
||||
|
||||
buildcompiler:
|
||||
name: Build Cross-Compiler (GCC)
|
||||
name: Build Cross-Compiler & Toolchain
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@ -81,33 +81,6 @@ jobs:
|
||||
if: steps.cache-cross.outputs.cache-hit != 'true'
|
||||
run: make --quiet -C tools do_gccarm64
|
||||
|
||||
buildtoolchaincompiler:
|
||||
name: Build Toolchain Cross-Compiler (GCC)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Cache cross Folder
|
||||
id: cache-cross
|
||||
uses: actions/cache@v3.0.10
|
||||
with:
|
||||
path: tools/cross
|
||||
key: ${{ runner.os }}-cross-${{ hashFiles('tools/Makefile') }}
|
||||
|
||||
- name: Update System
|
||||
if: steps.cache-cross.outputs.cache-hit != 'true'
|
||||
run: sudo apt-get update
|
||||
|
||||
- name: Install GCC Dependencies
|
||||
if: steps.cache-cross.outputs.cache-hit != 'true'
|
||||
run: sudo apt install build-essential bison flex libgmp3-dev libmpc-dev libmpfr-dev texinfo libzstd-dev libisl-dev autoconf m4 automake gettext gperf dejagnu guile-3.0 guile-3.0-dev expect tcl autogen tex-common sphinx-common git ssh diffutils patch -y
|
||||
|
||||
- name: Clone All
|
||||
if: steps.cache-cross.outputs.cache-hit != 'true'
|
||||
run: make --quiet -C tools clone_all
|
||||
|
||||
- name: Compile 64-bit Toolchain Binutils
|
||||
if: steps.cache-cross.outputs.cache-hit != 'true'
|
||||
run: make --quiet -C tools do_toolchain_binutils64
|
||||
@ -154,7 +127,7 @@ jobs:
|
||||
analyze:
|
||||
name: Analyze with CodeQL
|
||||
runs-on: ubuntu-latest
|
||||
needs: [buildcompiler, compilegnuefi, buildtoolchaincompiler]
|
||||
needs: [buildcompiler, compilegnuefi]
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
@ -214,7 +187,7 @@ jobs:
|
||||
compile64:
|
||||
name: Build amd64
|
||||
runs-on: ubuntu-latest
|
||||
needs: [buildcompiler, compilegnuefi, buildtoolchaincompiler]
|
||||
needs: [buildcompiler, compilegnuefi]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@ -259,7 +232,7 @@ jobs:
|
||||
compile32:
|
||||
name: Build i686
|
||||
runs-on: ubuntu-latest
|
||||
needs: [buildcompiler, compilegnuefi, buildtoolchaincompiler]
|
||||
needs: [buildcompiler, compilegnuefi]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@ -310,7 +283,7 @@ jobs:
|
||||
compilearm64:
|
||||
name: Build aarch64
|
||||
runs-on: ubuntu-latest
|
||||
needs: [buildcompiler, compilegnuefi, buildtoolchaincompiler]
|
||||
needs: [buildcompiler, compilegnuefi]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user