Skip to content

Commit

Permalink
test: add a downstream integration test job for nokogiri
Browse files Browse the repository at this point in the history
Related to #758
  • Loading branch information
flavorjones authored and nwellnhof committed Jul 4, 2024
1 parent 67fa4a4 commit 446a361
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 14 additions & 0 deletions .gitlab-ci/downstream-nokogiri.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 446a361

Please sign in to comment.