From 80b37cc34834b1a426723640cba95b46cbd8de24 Mon Sep 17 00:00:00 2001 From: Midou36O Date: Thu, 8 Sep 2022 13:10:23 +0100 Subject: [PATCH] wooooo --- .gitignore | 2 ++ .woodpecker.yml | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .gitignore create mode 100644 .woodpecker.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..31e38f2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/target +cargo.lock diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..887031c --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,21 @@ +pipeline: + build: + when: + event: [push, pull_request] + image: rust:latest + commands: + - cargo build + - echo "Done building!" + gzip: + when: + event: [push] + image: rust:latest + commands: + - mkdir ../artifact + - mv target/debug ../artifact + - tar -c -z -v -f gtubek-dev.tar.gz ../artifact + #upload: + #when: + #event: [push] + #image: +