From 14dd7928bde3271f1b7784ac0f268d870d25be45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20R=C3=A9veillon?= Date: Mon, 22 Nov 2021 02:53:55 +0000 Subject: [PATCH] CI: Add Gitlab CI --- .gitignore | 3 +++ .gitlab-ci.yml | 17 +++++++++++++++++ .travis.yml | 16 ---------------- Cargo.toml | 3 ++- 4 files changed, 22 insertions(+), 17 deletions(-) create mode 100644 .gitlab-ci.yml delete mode 100644 .travis.yml diff --git a/.gitignore b/.gitignore index 94408df..9e92baa 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,9 @@ # Executables *.exe +# IDE +.*.swp + # Generated by Cargo /target/ Cargo.lock diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..1fc3550 --- /dev/null +++ b/.gitlab-ci.yml @@ -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 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 255d403..0000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ -language: rust - -rust: - - stable - -script: - - cargo build --all - -os: - - linux - -addons: - apt: - packages: - - libvlc-dev - diff --git a/Cargo.toml b/Cargo.toml index 4267262..a19c8bb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,8 @@ authors = ["T. Okubo "] 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"