Skip to content

Commit

Permalink
chore: ci for arch and redhat
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexD10S committed May 9, 2024
1 parent b40beda commit ff1b67e
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions crates/pop-cli/src/commands/install/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ pub enum DEPENDENCIES {
Openssl,
#[strum(serialize = "openssl-devel")]
OpenSslDevel,
#[strum(serialize = "openssl-1.0")]
Openssl1,
#[strum(serialize = "pkg-config")]
PkgConfig,
#[strum(serialize = "protobuf")]
Expand Down Expand Up @@ -134,11 +132,14 @@ async fn install_arch(skip_confirm: bool) -> anyhow::Result<()> {
DEPENDENCIES::Git,
DEPENDENCIES::Clang,
DEPENDENCIES::Make,
DEPENDENCIES::Protobuf,
DEPENDENCIES::Openssl1,
DEPENDENCIES::Openssl,
DEPENDENCIES::Rustup,
))?
}
cmd("pacman", vec!["-Syu", "--needed", "--noconfirm", &DEPENDENCIES::Openssl.to_string()])
.run()?;
cmd("export", vec!["OPENSSL_LIB_DIR='/usr/lib/openssl-1.0'"]).run()?;
cmd("export", vec!["OPENSSL_INCLUDE_DIR='/usr/include/openssl-1.0'"]).run()?;
cmd(
"pacman",
vec![
Expand All @@ -149,13 +150,9 @@ async fn install_arch(skip_confirm: bool) -> anyhow::Result<()> {
&DEPENDENCIES::Git.to_string(),
&DEPENDENCIES::Clang.to_string(),
&DEPENDENCIES::Make.to_string(),
&DEPENDENCIES::Protobuf.to_string(),
&DEPENDENCIES::Openssl1.to_string(),
],
)
.run()?;
cmd("export", vec!["OPENSSL_LIB_DIR='/usr/lib/openssl-1.0'"]).run()?;
cmd("export", vec!["OPENSSL_INCLUDE_DIR='/usr/include/openssl-1.0'"]).run()?;

Ok(())
}
Expand Down

0 comments on commit ff1b67e

Please sign in to comment.