Skip to content

Commit

Permalink
[Build] Organize workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Pysis868 authored and billy1arm committed Aug 29, 2024
1 parent 3a5c16d commit 987da98
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/core_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/core_windows_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
16 changes: 16 additions & 0 deletions apps/ci/ci-packages.sh
Original file line number Diff line number Diff line change
@@ -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 \
;

0 comments on commit 987da98

Please sign in to comment.