[ci]: fix things (#400)
for the spellcheck issue, the solution was to just bypass the system package manager and use pip. and the macos workaround is taken from here: https://github.com/actions/setup-python/issues/577 Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/400 Reviewed-by: explosion-mental <explosion-mental@noreply.codeberg.org>
This commit is contained in:
parent
34d4295103
commit
a924fe004d
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -42,7 +42,8 @@ jobs:
|
||||
- name: dep
|
||||
run: |
|
||||
brew update
|
||||
brew install imlib2 libx11 libxft libexif giflib webp
|
||||
# see: https://github.com/actions/setup-python/issues/577
|
||||
brew install imlib2 libx11 libxft libexif giflib webp || true
|
||||
- name: build
|
||||
run: |
|
||||
# libinotify-kqueue isn't available on homebrew
|
||||
|
@ -5,5 +5,6 @@ pipeline:
|
||||
spell-check:
|
||||
image: alpine:edge
|
||||
commands: |
|
||||
apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing py3-codespell git >/dev/null
|
||||
apk add --no-cache python3 py3-pip git
|
||||
pip install codespell
|
||||
git ls-files | sed '/\.png$/d' | xargs codespell
|
||||
|
Loading…
Reference in New Issue
Block a user