Skip to content

Generate GitHub Actions config from RCL as well #19

Generate GitHub Actions config from RCL as well

Generate GitHub Actions config from RCL as well #19

Workflow file for this run

# This file is generated from build.rcl.
{
"env": {"CARGO_TERM_COLOR": "always"},
"jobs": {
"native-1.56.1": {

Check failure on line 5 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 5, Col: 5): The identifier 'native-1.56.1' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters. .github/workflows/build.yml (Line: 23, Col: 5): The identifier 'native-1.69.0' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
"runs-on": "ubuntu-latest",
"steps": [
{"uses": "actions/[email protected]"},
{
"name": "Install toolchain",
"run": "rustup toolchain install 1.56.1\nrustup target add x86_64-unknown-linux-gnu --toolchain 1.56.1\n"
},
{
"name": "Build",
"run": "cargo +1.56.1 build --target x86_64-unknown-linux-gnu --verbose"
},
{
"name": "Run tests",
"run": "cargo +1.56.1 test --target x86_64-unknown-linux-gnu --verbose"
}
]
},
"native-1.69.0": {
"runs-on": "ubuntu-latest",
"steps": [
{"uses": "actions/[email protected]"},
{
"name": "Install toolchain",
"run": "rustup toolchain install 1.69.0\nrustup target add x86_64-unknown-linux-gnu --toolchain 1.69.0\n"
},
{
"name": "Build",
"run": "cargo +1.69.0 build --target x86_64-unknown-linux-gnu --verbose"
},
{
"name": "Run tests",
"run": "cargo +1.69.0 test --target x86_64-unknown-linux-gnu --verbose"
}
]
},
"native-beta": {
"runs-on": "ubuntu-latest",
"steps": [
{"uses": "actions/[email protected]"},
{
"name": "Install toolchain",
"run": "rustup toolchain install beta\nrustup target add x86_64-unknown-linux-gnu --toolchain beta\n"
},
{
"name": "Build",
"run": "cargo +beta build --target x86_64-unknown-linux-gnu --verbose"
},
{
"name": "Run tests",
"run": "cargo +beta test --target x86_64-unknown-linux-gnu --verbose"
}
]
},
"native-nightly": {
"runs-on": "ubuntu-latest",
"steps": [
{"uses": "actions/[email protected]"},
{
"name": "Install toolchain",
"run": "rustup toolchain install nightly\nrustup target add x86_64-unknown-linux-gnu --toolchain nightly\n"
},
{
"name": "Build",
"run": "cargo +nightly build --target x86_64-unknown-linux-gnu --verbose"
},
{
"name": "Run tests",
"run": "cargo +nightly test --target x86_64-unknown-linux-gnu --verbose"
}
]
},
"sgx-msrv": {
"runs-on": "ubuntu-latest",
"steps": [
{"uses": "actions/[email protected]"},
{
"name": "Install toolchain",
"run": "rustup toolchain install 1.56.1\nrustup target add x86_64-fortanix-unknown-sgx --toolchain 1.56.1\n"
},
{
"name": "Build",
"run": "cargo +1.56.1 check --target x86_64-fortanix-unknown-sgx --verbose"
}
]
},
"wasm-msrv": {
"runs-on": "ubuntu-latest",
"steps": [
{"uses": "actions/[email protected]"},
{
"name": "Install toolchain",
"run": "rustup toolchain install 1.56.1\nrustup target add wasm32-unknown-unknown --toolchain 1.56.1\n"
},
{
"name": "Build",
"run": "cargo +1.56.1 build --target wasm32-unknown-unknown --verbose"
}
]
}
},
"name": "Build",
"on": {"pull_request": {"branches": ["master"]}, "push": {"branches": ["*"]}}
}