diff --git a/.github/workflows/n1.yml b/.github/workflows/n1.yml index 69ebc26..5664406 100644 --- a/.github/workflows/n1.yml +++ b/.github/workflows/n1.yml @@ -43,6 +43,33 @@ jobs: steps: + + + - name: Initialization environment + env: + DEBIAN_FRONTEND: noninteractive + run: | + sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL + sudo docker image prune --all --force + sudo -E apt-get -qq update + sudo apt-get -qq install ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \ + bzip2 ccache clang cmake cpio curl device-tree-compiler ecj fastjar flex gawk gettext gcc-multilib \ + g++-multilib git gnutls-dev gperf haveged help2man intltool lib32gcc-s1 libc6-dev-i386 libelf-dev \ + libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libpython3-dev libreadline-dev \ + libncursesw5-dev libpython3-dev libreadline-dev libssl-dev libtool lld llvm lrzsz mkisofs msmtp \ + nano ninja-build p7zip p7zip-full patch pkgconf python3 python3-pip python3-ply \ + python3-docutils python3-pyelftools qemu-utils re2c rsync scons squashfs-tools subversion swig \ + texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev zstd texlive-full lldb clangd + sudo -E apt-get -qq install libfuse-dev + sudo -E apt-get -qq autoremove --purge + sudo -E apt-get -qq clean + sudo timedatectl set-timezone "$TZ" + # sudo mkdir -p /workdir + # sudo chown $USER:$GROUPS /workdir + sudo chown $USER:$GROUPS $GITHUB_WORKSPACE + # echo "status=success" >> ${GITHUB_OUTPUT} + # df -Th + # - name: Free Disk Space (Ubuntu) # uses: jlumbroso/free-disk-space@main # with: @@ -124,31 +151,6 @@ jobs: echo "硬盘详情:" df -Th - - name: Initialization environment - env: - DEBIAN_FRONTEND: noninteractive - run: | - sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL - sudo docker image prune --all --force - sudo -E apt-get -qq update - sudo apt-get -qq install ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \ - bzip2 ccache clang cmake cpio curl device-tree-compiler ecj fastjar flex gawk gettext gcc-multilib \ - g++-multilib git gnutls-dev gperf haveged help2man intltool lib32gcc-s1 libc6-dev-i386 libelf-dev \ - libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libpython3-dev libreadline-dev \ - libncursesw5-dev libpython3-dev libreadline-dev libssl-dev libtool lld llvm lrzsz mkisofs msmtp \ - nano ninja-build p7zip p7zip-full patch pkgconf python3 python3-pip python3-ply \ - python3-docutils python3-pyelftools qemu-utils re2c rsync scons squashfs-tools subversion swig \ - texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev zstd texlive-full lldb clangd - sudo -E apt-get -qq install libfuse-dev - sudo -E apt-get -qq autoremove --purge - sudo -E apt-get -qq clean - sudo timedatectl set-timezone "$TZ" - # sudo mkdir -p /workdir - # sudo chown $USER:$GROUPS /workdir - sudo chown $USER:$GROUPS $GITHUB_WORKSPACE - # echo "status=success" >> ${GITHUB_OUTPUT} - # df -Th - - name: Clone source code id: clone # working-directory: /workdir