M .builds/ci.yml => .builds/ci.yml +10 -8
@@ 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