From 446a3610fd851af9a0ae2a56ce150871acee8ee6 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Wed, 3 Jul 2024 13:56:41 -0400 Subject: [PATCH] test: add a downstream integration test job for nokogiri Related to #758 --- .gitlab-ci.yml | 6 ++++++ .gitlab-ci/downstream-nokogiri.sh | 14 ++++++++++++++ 2 files changed, 20 insertions(+) create mode 100755 .gitlab-ci/downstream-nokogiri.sh diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e24210cc..8d96580d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -298,3 +298,9 @@ pages: - public/devhelp/*.xsl only: - master@GNOME/libxml2 + +downstream-nokogiri: + # owner: @flavorjones + image: ghcr.io/sparklemotion/nokogiri-test:upstream-libxml + script: + - .gitlab-ci/downstream-nokogiri.sh diff --git a/.gitlab-ci/downstream-nokogiri.sh b/.gitlab-ci/downstream-nokogiri.sh new file mode 100755 index 00000000..8ac282db --- /dev/null +++ b/.gitlab-ci/downstream-nokogiri.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +set -e + +export LIBXML_DIR=$(pwd) +export MAKEFLAGS=-j$(nproc) +export NOCONFIGURE=1 +./autogen.sh + +git clone https://github.com/sparklemotion/nokogiri +cd nokogiri +bundle install +bundle exec rake compile -- --with-xml2-source-dir=${LIBXML_DIR} +bundle exec rake test