diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 720b0cf..c6a2082 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v1 - name: Setup Node.js environment uses: actions/setup-node@v2.1.2 - - name: Install ImageMagick # necessary because ubuntu doesn't include IM7 in its repository + - name: Install dependencies run: sudo apt install libvips-dev libmagick++-dev - name: Build run: npm install && npm run build @@ -29,7 +29,7 @@ jobs: uses: actions/checkout@v1 - name: Setup Node.js environment uses: actions/setup-node@v2.1.2 - - name: Install ImageMagick + - name: Install dependencies run: choco install imagemagick -PackageParameters InstallDevelopmentHeaders=true - name: Build run: npm install && npm run build @@ -41,7 +41,7 @@ jobs: uses: actions/checkout@v1 - name: Setup Node.js environment uses: actions/setup-node@v2.1.2 - - name: Install ImageMagick + - name: Install dependencies run: brew install imagemagick vips - name: Build run: npm install && npm run build diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 35b1c90..6061c86 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -53,7 +53,7 @@ jobs: # Used to pull node distributions from node-versions. Since there's a default, this is typically not supplied by the user. #token: # optional, default is ${{ github.token }} - - run: git clone https://github.com/ImageMagick/ImageMagick && cd ImageMagick && ./configure --with-magick-plus-plus=yes && make -j`nproc` && sudo make install && sudo ldconfig /usr/local/lib + - run: sudo apt install libvips-dev libmagick++-dev # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL