Add .build.yml file for builds.sr.ht SourceHut CI (#176)
This commit is contained in:
parent
d729039849
commit
6d0da658ed
|
@ -0,0 +1,20 @@
|
||||||
|
image: ubuntu/latest
|
||||||
|
packages:
|
||||||
|
- curl
|
||||||
|
- libegl1-mesa-dev
|
||||||
|
- libgles2-mesa-dev
|
||||||
|
- pkg-config
|
||||||
|
- libssl-dev
|
||||||
|
sources:
|
||||||
|
- https://github.com/iceiix/stevenarella
|
||||||
|
tasks:
|
||||||
|
- setup: |
|
||||||
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh
|
||||||
|
sh ./rustup.sh -y
|
||||||
|
source $HOME/.cargo/env
|
||||||
|
cargo --version
|
||||||
|
- build: |
|
||||||
|
source $HOME/.cargo/env
|
||||||
|
cd stevenarella
|
||||||
|
cargo build
|
||||||
|
cargo test
|
Loading…
Reference in New Issue