~ciriarte/apizotl

ca584eb91650250fe565c80655c2216d92e82e69 — Carlos Iriarte 3 years ago d93e5e4
feat: add CI
1 files changed, 15 insertions(+), 0 deletions(-)

A .builds/ci.yml
A .builds/ci.yml => .builds/ci.yml +15 -0
@@ 0,0 1,15 @@
image: ubuntu
sources:
  - https://git.sr.ht/~ciriarte/apizotl
packages:
  - curl
tasks:
  - setup: |
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  - 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