CI: Add Gitlab CI

merge-requests/7/merge
Pierre Réveillon 2021-11-22 02:53:55 +00:00 committed by Martin Finkel
parent 21c4cb25f5
commit 14dd7928bd
4 changed files with 22 additions and 17 deletions

3
.gitignore vendored
View File

@ -7,6 +7,9 @@
# Executables
*.exe
# IDE
.*.swp
# Generated by Cargo
/target/
Cargo.lock

17
.gitlab-ci.yml 100644
View File

@ -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

View File

@ -1,16 +0,0 @@
language: rust
rust:
- stable
script:
- cargo build --all
os:
- linux
addons:
apt:
packages:
- libvlc-dev

View File

@ -5,7 +5,8 @@ authors = ["T. Okubo <t.okubo.rx78+github@gmail.com>"]
description = "Rust bindings for libVLC media framework."
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"
readme = "README.md"
edition = "2018"