Skip to content

Commit dfd214e

Browse files
committed
Temporary ci.yml test update
1 parent f5fbb44 commit dfd214e

File tree

1 file changed

+59
-53
lines changed

1 file changed

+59
-53
lines changed

.github/workflows/ci.yml

Lines changed: 59 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -32,60 +32,66 @@ jobs:
3232

3333
steps:
3434
- uses: actions/checkout@v3
35-
- name: Install libxslt for nokogiri gem (required for version < 1.11)
36-
run: sudo apt-get install -y libxml2-dev libxslt-dev
37-
- name: Build libvips (so we can use version ${{ matrix.vips-version }}, since only 8.12 is available on Ubuntu 22)
38-
if: matrix.vips-version != 'apt-default-vips'
39-
run: |
40-
# Instructions below are based on:
41-
# https://www.libvips.org/install.html
42-
# and
43-
# https://github.com/libvips/libvips/wiki/Build-for-Ubuntu
44-
#
45-
# Unstall any already-installed version of vips
46-
sudo apt-get remove libvips42
35+
# - name: Update apt packages
36+
# run: apt-get update
37+
- name: Install vips
38+
run: sudo apt-get install -y libvips42
39+
- name: Check vips version
40+
run: vips --version
41+
# - name: Install libxslt for nokogiri gem (required for version < 1.11)
42+
# run: sudo apt-get install -y libxml2-dev libxslt-dev
43+
# - name: Build libvips (so we can use version ${{ matrix.vips-version }}, since only 8.12 is available on Ubuntu 22)
44+
# if: matrix.vips-version != 'apt-default-vips'
45+
# run: |
46+
# # Instructions below are based on:
47+
# # https://www.libvips.org/install.html
48+
# # and
49+
# # https://github.com/libvips/libvips/wiki/Build-for-Ubuntu
50+
# #
51+
# # Unstall any already-installed version of vips
52+
# sudo apt-get remove libvips42
4753

48-
# Install meson build system
49-
sudo apt-get install -y meson
54+
# # Install meson build system
55+
# sudo apt-get install -y meson
5056

51-
# Download build dependencies
52-
sudo apt-get install -y build-essential pkg-config libglib2.0-dev libexpat1-dev
57+
# # Download build dependencies
58+
# sudo apt-get install -y build-essential pkg-config libglib2.0-dev libexpat1-dev
5359

54-
# Download various libraries that we want for vips features
55-
sudo apt-get install -y \
56-
libfftw3-dev libexif-dev libjpeg-turbo8-dev \
57-
libpng-dev libwebp-dev libtiff5-dev \
58-
libheif-dev libexpat1-dev libcfitsio-dev \
59-
libmatio-dev libnifti-dev libhwy-dev \
60-
liblcms2-dev libpoppler-glib-dev librsvg2-dev \
61-
libopenexr-dev libpango1.0-dev libarchive-dev \
62-
libopenslide-dev libffi-dev libopenjp2-7-dev \
63-
libimagequant-dev libcgif-dev \
64-
liborc-0.4-dev # FIXME: Remove once libhwy 1.0.5 is available.
60+
# # Download various libraries that we want for vips features
61+
# sudo apt-get install -y \
62+
# libfftw3-dev libexif-dev libjpeg-turbo8-dev \
63+
# libpng-dev libwebp-dev libtiff5-dev \
64+
# libheif-dev libexpat1-dev libcfitsio-dev \
65+
# libmatio-dev libnifti-dev libhwy-dev \
66+
# liblcms2-dev libpoppler-glib-dev librsvg2-dev \
67+
# libopenexr-dev libpango1.0-dev libarchive-dev \
68+
# libopenslide-dev libffi-dev libopenjp2-7-dev \
69+
# libimagequant-dev libcgif-dev \
70+
# liborc-0.4-dev # FIXME: Remove once libhwy 1.0.5 is available.
6571

66-
# Download and compile selected version of vips
67-
cd /tmp
68-
wget https://github.com/libvips/libvips/releases/download/v${{ matrix.vips-version }}/vips-${{ matrix.vips-version }}.tar.xz
69-
tar xf vips-${{ matrix.vips-version }}.tar.xz
70-
cd vips-${{ matrix.vips-version }}
71-
meson build --libdir=lib --buildtype=release -Dintrospection=disabled
72-
cd build
73-
ninja
74-
ninja test
75-
sudo ninja install
76-
vips --version
77-
- name: Add --no-document option to .gemrc file to speed up bundle install
78-
run: "echo 'gem: --no-document' > ~/.gemrc"
79-
- name: Set up Ruby
80-
uses: ruby/setup-ruby@v1
81-
with:
82-
ruby-version: ${{ matrix.ruby-version }}
83-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
84-
- name: Set up Node
85-
uses: actions/setup-node@v3
86-
with:
87-
node-version: ${{ matrix.node }}
88-
- run: npm install -g yarn
89-
- run: yarn install
90-
- name: Run CI task
91-
run: bundle exec rake triclops:ci
72+
# # Download and compile selected version of vips
73+
# cd /tmp
74+
# wget https://github.com/libvips/libvips/releases/download/v${{ matrix.vips-version }}/vips-${{ matrix.vips-version }}.tar.xz
75+
# tar xf vips-${{ matrix.vips-version }}.tar.xz
76+
# cd vips-${{ matrix.vips-version }}
77+
# meson build --libdir=lib --buildtype=release -Dintrospection=disabled
78+
# cd build
79+
# ninja
80+
# ninja test
81+
# sudo ninja install
82+
# vips --version
83+
# - name: Add --no-document option to .gemrc file to speed up bundle install
84+
# run: "echo 'gem: --no-document' > ~/.gemrc"
85+
# - name: Set up Ruby
86+
# uses: ruby/setup-ruby@v1
87+
# with:
88+
# ruby-version: ${{ matrix.ruby-version }}
89+
# bundler-cache: true # runs 'bundle install' and caches installed gems automatically
90+
# - name: Set up Node
91+
# uses: actions/setup-node@v3
92+
# with:
93+
# node-version: ${{ matrix.node }}
94+
# - run: npm install -g yarn
95+
# - run: yarn install --frozen-lockfile
96+
# - name: Run CI task
97+
# run: bundle exec rake triclops:ci

0 commit comments

Comments
 (0)