chore: Remove sudo & change "apt-get" to "apt"
Some checks failed
Build OS / Deploy Documentation to GitHub Pages (push) Failing after 18s
Build OS / Build Cross-Compiler & Toolchain (push) Failing after 10s
Build OS / Build GNU-EFI (push) Failing after 11s
Build OS / Analyze with CodeQL (cpp) (push) Has been skipped
Build OS / Build amd64 (push) Has been skipped
Build OS / Build i386 (push) Has been skipped
Build OS / Build aarch64 (push) Has been skipped

This commit is contained in:
EnderIce2 2024-11-26 04:03:57 +02:00
parent f34a222bf1
commit 360afdbc9c
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -17,7 +17,7 @@ jobs:
submodules: recursive submodules: recursive
- name: Install Doxygen - name: Install Doxygen
run: sudo apt-get install doxygen make -y run: apt -y install doxygen make
- name: Generate Documentation - name: Generate Documentation
run: make doxygen run: make doxygen
@ -47,11 +47,11 @@ jobs:
- name: Update System - name: Update System
if: steps.cache-cross.outputs.cache-hit != 'true' if: steps.cache-cross.outputs.cache-hit != 'true'
run: sudo apt-get update run: apt update
- name: Install GCC Dependencies - name: Install GCC Dependencies
if: steps.cache-cross.outputs.cache-hit != 'true' 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 run: 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 - name: Clone All
if: steps.cache-cross.outputs.cache-hit != 'true' if: steps.cache-cross.outputs.cache-hit != 'true'
@ -96,11 +96,11 @@ jobs:
- name: Update System - name: Update System
if: steps.cache-gnuefi.outputs.cache-hit != 'true' if: steps.cache-gnuefi.outputs.cache-hit != 'true'
run: sudo apt-get update run: apt update
- name: Install MinGW compiler - name: Install MinGW compiler
if: steps.cache-gnuefi.outputs.cache-hit != 'true' if: steps.cache-gnuefi.outputs.cache-hit != 'true'
run: sudo apt-get install make gcc-mingw-w64-x86-64 gcc-mingw-w64-i686 mingw-w64 -y run: apt install make gcc-mingw-w64-x86-64 gcc-mingw-w64-i686 mingw-w64 -y
- name: Get GNU-EFI source code and compile it - name: Get GNU-EFI source code and compile it
if: steps.cache-gnuefi.outputs.cache-hit != 'true' if: steps.cache-gnuefi.outputs.cache-hit != 'true'
@ -133,8 +133,8 @@ jobs:
- name: Install Packages - name: Install Packages
run: | run: |
sudo apt-get update apt update
sudo apt-get install rustc xorriso mtools genisoimage ovmf nasm doxygen make gcc-mingw-w64-x86-64 gcc-mingw-w64-i686 mingw-w64 build-essential bison flex libgmp3-dev libmpc-dev libmpfr-dev texinfo -y apt install rustc xorriso mtools genisoimage ovmf nasm doxygen make gcc-mingw-w64-x86-64 gcc-mingw-w64-i686 mingw-w64 build-essential bison flex libgmp3-dev libmpc-dev libmpfr-dev texinfo -y
make --quiet -C tools do_limine make --quiet -C tools do_limine
make --quiet -C Drivers prepare make --quiet -C Drivers prepare
make --quiet -C Userspace prepare make --quiet -C Userspace prepare
@ -177,8 +177,8 @@ jobs:
- name: Update & Install Required Packages - name: Update & Install Required Packages
run: | run: |
sudo apt-get update apt update
sudo apt-get install rustc xorriso mtools genisoimage ovmf nasm doxygen make meson gcc-10 g++-10 gcc-mingw-w64-x86-64 gcc-mingw-w64-i686 mingw-w64 -y apt install rustc xorriso mtools genisoimage ovmf nasm doxygen make meson gcc-10 g++-10 gcc-mingw-w64-x86-64 gcc-mingw-w64-i686 mingw-w64 -y
make --quiet -C tools do_limine make --quiet -C tools do_limine
make --quiet -C Drivers prepare make --quiet -C Drivers prepare
make --quiet -C Userspace prepare make --quiet -C Userspace prepare
@ -234,8 +234,8 @@ jobs:
- name: Update & Install Required Packages - name: Update & Install Required Packages
run: | run: |
sudo apt-get update apt update
sudo apt-get install rustc xorriso mtools genisoimage ovmf nasm doxygen make meson gcc-10 g++-10 gcc-mingw-w64-x86-64 gcc-mingw-w64-i686 mingw-w64 -y apt install rustc xorriso mtools genisoimage ovmf nasm doxygen make meson gcc-10 g++-10 gcc-mingw-w64-x86-64 gcc-mingw-w64-i686 mingw-w64 -y
make --quiet -C tools do_limine make --quiet -C tools do_limine
make --quiet -C Drivers prepare make --quiet -C Drivers prepare
make --quiet -C Userspace prepare make --quiet -C Userspace prepare
@ -292,8 +292,8 @@ jobs:
- name: Update & Install Required Packages - name: Update & Install Required Packages
run: | run: |
sudo apt-get update apt update
sudo apt-get install rustc xorriso mtools genisoimage ovmf nasm doxygen make meson gcc-10 g++-10 gcc-mingw-w64-x86-64 gcc-mingw-w64-i686 mingw-w64 -y apt install rustc xorriso mtools genisoimage ovmf nasm doxygen make meson gcc-10 g++-10 gcc-mingw-w64-x86-64 gcc-mingw-w64-i686 mingw-w64 -y
make --quiet -C tools do_limine make --quiet -C tools do_limine
make --quiet -C Drivers prepare make --quiet -C Drivers prepare
make --quiet -C Userspace prepare make --quiet -C Userspace prepare