Skip to content

Commit

Permalink
build(linux): change system package installation order
Browse files Browse the repository at this point in the history
This is to prevent an issue where insalling libssv-dev after running "apt update" would cause the GitHub runner to restart.
  • Loading branch information
Silverlan committed May 28, 2024
1 parent 451655c commit 6377cf1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build_scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,11 @@ def execscript(filepath):
commands = [
# Required for the build script
"apt-get install python3",

# Required for Curl
# This has to be executed before "apt update", otherwise
# it will cause the GitHub runner to restart
"apt-get install libssl-dev",

# Required for Pragma core
"apt install build-essential",
Expand Down Expand Up @@ -283,10 +288,6 @@ def execscript(filepath):

# CMake
"apt-get install cmake",

# Required for Curl
"apt-get install libssl-dev",
"apt install libssh2-1",

# Curl
"apt-get install curl zip unzip tar",
Expand Down

0 comments on commit 6377cf1

Please sign in to comment.