diff --git a/.github/workflows/core_build.yml b/.github/workflows/core_build.yml index 15e28d09a..c6a488eb6 100644 --- a/.github/workflows/core_build.yml +++ b/.github/workflows/core_build.yml @@ -18,7 +18,7 @@ jobs: run: sudo apt-get update -y - name: Install Required Packages - run: sudo apt-get install -y git make cmake clang libssl-dev libbz2-dev build-essential default-libmysqlclient-dev libace-dev + run: ./apps/ci/ci-packages.sh - name: Update Compilers run: source ./apps/ci/ci-compiler-update.sh diff --git a/.github/workflows/core_windows_build.yml b/.github/workflows/core_windows_build.yml index 2b7967ebc..812cf673c 100644 --- a/.github/workflows/core_windows_build.yml +++ b/.github/workflows/core_windows_build.yml @@ -26,9 +26,8 @@ jobs: - name: Checkout Submodules shell: bash - run: | - git submodule init && git submodule update - + run: apps/ci/ci-submodule-update.sh + - name: Build Project shell: bash run: | diff --git a/apps/ci/ci-packages.sh b/apps/ci/ci-packages.sh new file mode 100644 index 000000000..7ee3ac84c --- /dev/null +++ b/apps/ci/ci-packages.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +set -e + +# Install Required Packages +sudo apt-get install -y \ + build-essential \ + clang \ + cmake \ + default-libmysqlclient-dev \ + git \ + libssl-dev \ + libbz2-dev \ + libace-dev \ + make \ +;