Skip to content

Commit

Permalink
Update README (#388)
Browse files Browse the repository at this point in the history
* Update README

* Update CI
  • Loading branch information
tonimelisma authored Dec 5, 2023
1 parent d1ecb71 commit bb19283
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 21 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
18 changes: 1 addition & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit bb19283

Please sign in to comment.