From 0de069a41f329f7c4d3fa9d3f5a2c74fd73fbd52 Mon Sep 17 00:00:00 2001 From: Essem Date: Tue, 7 Jun 2022 18:02:44 -0500 Subject: [PATCH] incredibly screwed up --- .github/workflows/build.yml | 6 +++--- .github/workflows/codeql-analysis.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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