Louis Vallat
ee0da53f01
Some checks failed
Build Rust binary in release mode / build (push) Failing after 5s
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
23 lines
656 B
YAML
23 lines
656 B
YAML
name: "Build Rust binary in release mode"
|
|
on: push
|
|
|
|
jobs:
|
|
build:
|
|
name: "build"
|
|
runs-on: rust-bookworm
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: Compile binary in release mode
|
|
run: |
|
|
cargo build --release
|
|
- name: Run with lyrics from Hotel California
|
|
run: |
|
|
printf "%s" "$HOTEL_CALIFORNIA_LYRICS" > /tmp/input
|
|
cat /tmp/input
|
|
cargo run --release -- /tmp/input
|
|
- name: Run with lyrics from The Unforgiven
|
|
run: |
|
|
printf "%s" "$THE_UNFORGIVEN_LYRICS" > /tmp/input
|
|
cargo run --release -- /tmp/input
|