diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fe35152..1965005 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,6 @@ jobs: with: submodules: true - name: Free up some space - if: false run: | sudo rm --recursive --force \ '/opt/'* \ @@ -58,11 +57,9 @@ jobs: sudo mkswap '/mnt/swapfile' sudo swapon '/mnt/swapfile' - name: Install required dependencies - if: false run: | sudo apt-get install 'libxml2-dev' - name: Setup Linux cross-compiler - if: true run: | declare -r SPHYNX_TAG="$(jq --raw-output '.tag_name' <<< "$(curl --connect-timeout '10' --retry '15' --retry-all-errors --fail --silent --url 'https://api.github.com/repos/AmanoTeam/Sphynx/releases/latest')")" declare -r SPHYNX_TARBALL='/tmp/toolchain.tar.xz' @@ -74,7 +71,6 @@ jobs: echo 'SPHYNX_HOME=/tmp/sphynx' >> "${GITHUB_ENV}" echo '/tmp/sphynx/bin' >> "${GITHUB_PATH}" - name: Setup Android cross-compiler - if: false uses: nttld/setup-ndk@main id: setup-ndk with: @@ -85,7 +81,6 @@ jobs: sudo sed --in-place '/CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG/d' '/usr/local/share/cmake-'*'/Modules/Platform/Android.cmake' echo '${{ steps.setup-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64/bin' >> "${GITHUB_PATH}" - name: Setup Windows cross-compiler - if: false run: | declare -r LLVM_MINGW_TAG="$(jq --raw-output '.tag_name' <<< "$(curl --connect-timeout '10' --retry '15' --retry-all-errors --fail --silent --url 'https://api.github.com/repos/AmanoTeam/LLVMMinGW-Builds/releases/latest')")" declare -r LLVM_MINGW_TARBALL='/tmp/toolchain.tar.xz' @@ -97,7 +92,6 @@ jobs: echo 'LLVM_MINGW_HOME=/tmp/llvm-mingw' >> "${GITHUB_ENV}" echo '/tmp/llvm-mingw/bin' >> "${GITHUB_PATH}" - name: Setup MacOS X cross-compiler - if: false run: | git clone --depth='1' 'https://github.com/tpoechtrager/osxcross.git' @@ -110,7 +104,6 @@ jobs: echo "OSXCROSS_HOME=$(realpath './target')" >> "${GITHUB_ENV}" echo "$(realpath './target/bin')" >> "${GITHUB_PATH}" - name: Setup NetBSD cross-compiler - if: false run: | declare -r DAKINI_TAG="$(jq --raw-output '.tag_name' <<< "$(curl --connect-timeout '10' --retry '15' --retry-all-errors --fail --silent --url 'https://api.github.com/repos/AmanoTeam/Dakini/releases/latest')")" declare -r DAKINI_TARBALL='/tmp/toolchain.tar.xz' @@ -122,7 +115,6 @@ jobs: echo 'DAKINI_HOME=/tmp/dakini' >> "${GITHUB_ENV}" echo '/tmp/dakini/bin' >> "${GITHUB_PATH}" - name: Setup FreeBSD cross-compiler - if: false run: | declare -r LOKI_TAG="$(jq --raw-output '.tag_name' <<< "$(curl --connect-timeout '10' --retry '15' --retry-all-errors --fail --silent --url 'https://api.github.com/repos/AmanoTeam/Loki/releases/latest')")" declare -r LOKI_TARBALL='/tmp/toolchain.tar.xz' @@ -134,7 +126,6 @@ jobs: echo 'LOKI_HOME=/tmp/loki' >> "${GITHUB_ENV}" echo '/tmp/loki/bin' >> "${GITHUB_PATH}" - name: Setup DragonFly cross-compiler - if: false run: | declare -r DRAGONFLY_CROSS_TAG="$(jq --raw-output '.tag_name' <<< "$(curl --connect-timeout '10' --retry '15' --retry-all-errors --fail --silent --url 'https://api.github.com/repos/AmanoTeam/Venti/releases/latest')")" declare -r DRAGONFLY_CROSS_TARBALL='/tmp/toolchain.tar.xz' @@ -146,7 +137,6 @@ jobs: echo 'VENTI_HOME=/tmp/venti' >> "${GITHUB_ENV}" echo '/tmp/venti/bin' >> "${GITHUB_PATH}" - name: Setup Haiku cross-compiler - if: false run: | declare -r SIL_TAG="$(jq --raw-output '.tag_name' <<< "$(curl --connect-timeout '10' --retry '15' --retry-all-errors --fail --silent --url 'https://api.github.com/repos/AmanoTeam/Sil/releases/latest')")" declare -r SIL_TARBALL='/tmp/toolchain.tar.xz' @@ -169,7 +159,6 @@ jobs: echo 'OBGGCC_HOME=/tmp/obggcc' >> "${GITHUB_ENV}" echo '/tmp/obggcc/bin' >> "${GITHUB_PATH}" - name: Setup OpenBSD cross-compiler - if: false run: | declare -r ATAR_TAG="$(jq --raw-output '.tag_name' <<< "$(curl --connect-timeout '10' --retry '15' --retry-all-errors --fail --silent --url 'https://api.github.com/repos/AmanoTeam/Atar/releases/latest')")" declare -r ATAR_TARBALL='/tmp/toolchain.tar.xz' @@ -181,7 +170,6 @@ jobs: echo 'ATAR_HOME=/tmp/atar' >> "${GITHUB_ENV}" echo '/tmp/atar/bin' >> "${GITHUB_PATH}" - name: Setup Linux musl cross-compiler - if: true run: | declare -r RAIDEN_TAG="$(jq --raw-output '.tag_name' <<< "$(curl --connect-timeout '10' --retry '15' --retry-all-errors --fail --silent --url 'https://api.github.com/repos/AmanoTeam/Raiden/releases/latest')")" declare -r RAIDEN_TARBALL='/tmp/toolchain.tar.xz' @@ -193,7 +181,6 @@ jobs: echo 'RAIDEN_HOME=/tmp/raiden' >> "${GITHUB_ENV}" echo '/tmp/raiden/bin' >> "${GITHUB_PATH}" - name: Setup SerenityOS cross-compiler - if: false run: | declare -r SENNA_TAG="$(jq --raw-output '.tag_name' <<< "$(curl --connect-timeout '10' --retry '15' --retry-all-errors --fail --silent --url 'https://api.github.com/repos/AmanoTeam/Senna/releases/latest')")" declare -r SENNA_TARBALL='/tmp/toolchain.tar.xz' @@ -205,7 +192,6 @@ jobs: echo 'SENNA_HOME=/tmp/senna' >> "${GITHUB_ENV}" echo '/tmp/senna/bin' >> "${GITHUB_PATH}" - name: Setup Kindle cross-compiler - if: false run: | declare -r KEL_TAG="$(jq --raw-output '.tag_name' <<< "$(curl --connect-timeout '10' --retry '15' --retry-all-errors --fail --silent --url 'https://api.github.com/repos/AmanoTeam/Kel/releases/latest')")" declare -r KEL_TARBALL='/tmp/toolchain.tar.xz' @@ -217,7 +203,6 @@ jobs: echo 'KEL_HOME=/tmp/kel' >> "${GITHUB_ENV}" echo '/tmp/kel/bin' >> "${GITHUB_PATH}" - name: Setup PocketBook cross-compiler - if: false run: | declare -r NERO_TAG="$(jq --raw-output '.tag_name' <<< "$(curl --connect-timeout '10' --retry '15' --retry-all-errors --fail --silent --url 'https://api.github.com/repos/AmanoTeam/Nero/releases/latest')")" declare -r NERO_TARBALL='/tmp/toolchain.tar.xz' @@ -229,7 +214,6 @@ jobs: echo 'NERO_HOME=/tmp/nero' >> "${GITHUB_ENV}" echo '/tmp/nero/bin' >> "${GITHUB_PATH}" - name: Setup reMarkable cross-compiler - if: false run: | declare -r NAN_TAG="$(jq --raw-output '.tag_name' <<< "$(curl --connect-timeout '10' --retry '15' --retry-all-errors --fail --silent --url 'https://api.github.com/repos/AmanoTeam/Nan/releases/latest')")" declare -r NAN_TARBALL='/tmp/toolchain.tar.xz' @@ -240,8 +224,7 @@ jobs: echo 'NAN_HOME=/tmp/nan' >> "${GITHUB_ENV}" echo '/tmp/nan/bin' >> "${GITHUB_PATH}" - - name: Setup Cervantes cross-compiler - if: false + - name: Setup Cervantes cross-compiler run: | declare -r NIL_TAG="$(jq --raw-output '.tag_name' <<< "$(curl --connect-timeout '10' --retry '15' --retry-all-errors --fail --silent --url 'https://api.github.com/repos/AmanoTeam/Nil/releases/latest')")" declare -r NIL_TARBALL='/tmp/toolchain.tar.xz' @@ -253,7 +236,6 @@ jobs: echo 'NIL_HOME=/tmp/nil' >> "${GITHUB_ENV}" echo '/tmp/nil/bin' >> "${GITHUB_PATH}" - name: Setup Bookeen cross-compiler - if: false run: | declare -r AI_TAG="$(jq --raw-output '.tag_name' <<< "$(curl --connect-timeout '10' --retry '15' --retry-all-errors --fail --silent --url 'https://api.github.com/repos/AmanoTeam/Ai/releases/latest')")" declare -r AI_TARBALL='/tmp/toolchain.tar.xz' @@ -265,7 +247,6 @@ jobs: echo 'AI_HOME=/tmp/ai' >> "${GITHUB_ENV}" echo '/tmp/ai/bin' >> "${GITHUB_PATH}" - name: Setup Kobo cross-compiler - if: false run: | declare -r KAL_TAG="$(jq --raw-output '.tag_name' <<< "$(curl --connect-timeout '10' --retry '15' --retry-all-errors --fail --silent --url 'https://api.github.com/repos/AmanoTeam/Kal/releases/latest')")" declare -r KAL_TARBALL='/tmp/toolchain.tar.xz' @@ -277,7 +258,6 @@ jobs: echo 'KAL_HOME=/tmp/kal' >> "${GITHUB_ENV}" echo '/tmp/kal/bin' >> "${GITHUB_PATH}" - name: Setup Tizen cross-compiler - if: false run: | declare -r NUL_TAG="$(jq --raw-output '.tag_name' <<< "$(curl --connect-timeout '10' --retry '15' --retry-all-errors --fail --silent --url 'https://api.github.com/repos/AmanoTeam/Nul/releases/latest')")" declare -r NUL_TARBALL='/tmp/toolchain.tar.xz' @@ -291,7 +271,6 @@ jobs: - name: Build with CMake run: | declare -ra targets=( - x86_64-linux-gnu # hppa-unknown-openbsd arm-unknown-openbsd aarch64-unknown-openbsd @@ -442,8 +421,6 @@ jobs: fi rm --force --recursive ./* - - break done - name: Upload artifact uses: actions/upload-artifact@main