Skip to content

Commit a3233b5

Browse files
committed
install cc if not installed
1 parent 02f4933 commit a3233b5

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

dagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "rust",
33
"sdk": "github.com/fluentci-io/daggerverse/deno-sdk@main",
4-
"version": "v0.10.4",
4+
"version": "v0.10.5",
55
"description": "",
66
"author": "Tsiry Sandratraina",
77
"license": "MIT"

fluentci.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ authors = [
55
description = "CI/CD Plugin for Rust"
66
license = "MIT"
77
name = "rust"
8-
version = "0.10.4"
8+
version = "0.10.5"

plugin/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
edition = "2021"
33
name = "rust"
4-
version = "0.10.4"
4+
version = "0.10.5"
55

66
[lib]
77
crate-type = ["cdylib"]

plugin/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ pub fn setup() -> FnResult<String> {
1313
.pipeline("setup")?
1414
.pkgx()?
1515
.with_packages(vec!["curl"])?
16+
.with_exec(vec!["type cc > /dev/null || pkgx install gnu.org/gcc"])?
1617
.with_exec(vec!["type rustup > /dev/null || curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y"])?
1718
.stdout()?;
1819
Ok(stdout)

0 commit comments

Comments
 (0)