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 # Executables
*.exe *.exe
# IDE
.*.swp
# Generated by Cargo # Generated by Cargo
/target/ /target/
Cargo.lock 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." 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"