From bb19283e4270a023637397d431b1df81c23f9c8e Mon Sep 17 00:00:00 2001 From: Toni Melisma <59022391+tonimelisma@users.noreply.github.com> Date: Tue, 5 Dec 2023 10:31:06 -0800 Subject: [PATCH] Update README (#388) * Update README * Update CI --- .github/workflows/build.yml | 8 ++++---- README.md | 18 +----------------- 2 files changed, 5 insertions(+), 21 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 75d3dfcb..df401276 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: CGO_CFLAGS_ALLOW: -Xpreprocessor strategy: matrix: - os: [ubuntu-22.04, macos-11] + os: [ubuntu-latest, macos-latest] steps: - name: Set up Go 1.x @@ -22,13 +22,13 @@ jobs: uses: actions/checkout@v2 - name: Install linux deps - if: matrix.os == 'ubuntu-22.04' + if: matrix.os == 'ubuntu-latest' run: | sudo apt-get -y install libopenjp2-7 sudo apt-get -y install libvips-dev - name: Install macos deps - if: matrix.os == 'macos-11' + if: matrix.os == 'macos-latest' run: | brew install vips @@ -43,7 +43,7 @@ jobs: run: go test -v -coverprofile=profile.cov ./... - name: Coveralls - if: matrix.os == 'ubuntu-22.04' + if: matrix.os == 'ubuntu-latest' uses: shogo82148/actions-goveralls@v1 with: path-to-profile: profile.cov diff --git a/README.md b/README.md index 1e68c04d..6987d47c 100644 --- a/README.md +++ b/README.md @@ -26,22 +26,6 @@ Use [homebrew](https://brew.sh/) to install vips and pkg-config: brew install vips pkg-config ``` -### Ubuntu - -You need a recent libvips to work with govips. New govips functionality is continuously added which takes advantage of new libvips functionality. Groovy (20.10) and Hirsute (21.04) repositories have working versions. However on Focal (20.04), you need to install libvips and dependencies from a backports repository: - -```bash -sudo add-apt-repository -y ppa:strukturag/libde265 -sudo add-apt-repository -y ppa:strukturag/libheif -sudo add-apt-repository ppa:tonimelisma/ppa -``` - -Then: - -```bash -sudo apt -y install libvips-dev -``` - ### Windows The recommended approach on Windows is to use Govips via WSL and Ubuntu. @@ -121,7 +105,7 @@ MALLOC_ARENA_MAX=2 application This will reduce GLib memory appetites by reducing the number of malloc arenas that it can create. By default GLib creates one are per thread, and this would -follow to a memory fragmentation. +follow to memory fragmentation. ## Contributing