Skip to content

build: Use local module to find libwebp #227

build: Use local module to find libwebp

build: Use local module to find libwebp #227

Workflow file for this run

name: Build Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
BUILD_TYPE: Release
jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 9.4.0
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: sudo apt update && sudo apt install -y cmake libvips-dev libmagick++-dev libzxingcore-dev libwebp-dev
- name: Build
run: pnpm install --frozen-lockfile --no-optional && pnpm run build
darwin:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 9.4.0
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: brew install imagemagick vips webp
- name: Build
run: pnpm install --frozen-lockfile --no-optional && pnpm run build --CDWITH_ZXING=OFF