From 674c11df6e46ba8245f271ad3bdccf226a732731 Mon Sep 17 00:00:00 2001 From: Carlos Iriarte Date: Sun, 24 Jan 2021 19:13:02 -0800 Subject: [PATCH] ci: add CI --- .builds/ci.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.builds/ci.yml b/.builds/ci.yml index 8742c48..effa8d0 100644 --- a/.builds/ci.yml +++ b/.builds/ci.yml @@ -1,15 +1,17 @@ -image: ubuntu +image: ubuntu/lts sources: - https://git.sr.ht/~ciriarte/apizotl packages: + - pkg-config + - libssl-dev - curl tasks: - setup: | - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - build: | - cd apizotl - cargo build --release - - execute: | - ./target/release/apizotl presidents - ./target/release/apizotl congress senators --legislature LXIV - ./target/release/apizotl congress deputies --legislature LXIV \ No newline at end of file + cd apizotl + source $HOME/.cargo/env + cargo build --release + ./target/release/apizotl presidents + ./target/release/apizotl congress senators --legislature LXIV + ./target/release/apizotl congress deputies --legislature LXIV \ No newline at end of file -- 2.45.2