CI: Add Gitlab CI
parent
21c4cb25f5
commit
14dd7928bd
|
@ -7,6 +7,9 @@
|
||||||
# Executables
|
# Executables
|
||||||
*.exe
|
*.exe
|
||||||
|
|
||||||
|
# IDE
|
||||||
|
.*.swp
|
||||||
|
|
||||||
# Generated by Cargo
|
# Generated by Cargo
|
||||||
/target/
|
/target/
|
||||||
Cargo.lock
|
Cargo.lock
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
|
||||||
|
variables:
|
||||||
|
VLC_UBUNTU_IMAGE: registry.videolan.org/vlc-rs-libvlc-stable-ubuntu:20211117143343
|
||||||
|
|
||||||
|
vlc-rs-build:
|
||||||
|
tags:
|
||||||
|
- docker
|
||||||
|
- amd64
|
||||||
|
stage: build
|
||||||
|
image:
|
||||||
|
name: $VLC_UBUNTU_IMAGE
|
||||||
|
|
||||||
|
script:
|
||||||
|
- . $CARGO_HOME/env
|
||||||
|
- cargo build --all
|
16
.travis.yml
16
.travis.yml
|
@ -1,16 +0,0 @@
|
||||||
language: rust
|
|
||||||
|
|
||||||
rust:
|
|
||||||
- stable
|
|
||||||
|
|
||||||
script:
|
|
||||||
- cargo build --all
|
|
||||||
|
|
||||||
os:
|
|
||||||
- linux
|
|
||||||
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- libvlc-dev
|
|
||||||
|
|
|
@ -5,7 +5,8 @@ authors = ["T. Okubo <t.okubo.rx78+github@gmail.com>"]
|
||||||
|
|
||||||
description = "Rust bindings for libVLC media framework."
|
description = "Rust bindings for libVLC media framework."
|
||||||
keywords = ["libVLC", "bindings"]
|
keywords = ["libVLC", "bindings"]
|
||||||
repository = "https://github.com/garkimasera/vlc-rs"
|
repository = "https://code.videolan.org/videolan/vlc-rs"
|
||||||
|
homepage = "https://code.videolan.org/videolan/vlc-rs"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
Loading…
Reference in New Issue