feat: moved to gitea workflows for CI/CD
Some checks failed
Build Rust binary in release mode / build (push) Failing after 5s
Some checks failed
Build Rust binary in release mode / build (push) Failing after 5s
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
This commit is contained in:
parent
cf1de29416
commit
5633ffdfab
18
.gitea/workflows/build.yml
Normal file
18
.gitea/workflows/build.yml
Normal file
@ -0,0 +1,18 @@
|
||||
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: Run with lyrics from Hotel California
|
||||
run: |
|
||||
echo "$HOTEL_CALIFORNIA_LYRICS" > /tmp/input
|
||||
cargo run --release -- /tmp/input
|
||||
- name: Run with lyrics from The Unforgiven
|
||||
run: |
|
||||
echo "$THE_UNFORGIVEN_LYRICS" > /tmp/input
|
||||
cargo run --release -- /tmp/input
|
@ -1,15 +0,0 @@
|
||||
default:
|
||||
image: rust
|
||||
|
||||
stages:
|
||||
- build
|
||||
|
||||
metallica-the-unforgiven:
|
||||
stage: build
|
||||
script:
|
||||
- cargo run --release -- ${THE_UNFORGIVEN_INPUT}
|
||||
|
||||
eagles-hotel-california:
|
||||
stage: build
|
||||
script:
|
||||
- cargo run --release -- ${HOTEL_CALIFORNIA_INPUT}
|
Loading…
Reference in New Issue
Block a user