Skip to content

Commit

Permalink
ci update to remove matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfx committed Jul 16, 2023
1 parent 0491c7e commit b953ce4
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
test:
name: Test ImageMagick7
name: Test ImageMagick7 linux
runs-on: ubuntu-latest
environment: imagemagick7
env:
Expand All @@ -33,12 +33,8 @@ jobs:
"$DOCKER_IMAGE"
test_windows:
name: Test go-${{ matrix.go }} on ${{ matrix.os }}
strategy:
matrix:
go: [1.20.6]
os: [windows-latest]
runs-on: ${{ matrix.os }}
name: Test ImageMagick7 windows
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v1
Expand All @@ -48,7 +44,7 @@ jobs:
- name: Setup go
uses: actions/[email protected]
with:
go-version: ${{ matrix.go }}
go-version: 1.20.6

- name: Setup MSYS2
uses: msys2/setup-msys2@v2
Expand All @@ -63,12 +59,12 @@ jobs:
- name: Install deps
shell: msys2 {0}
run: |
/c/hostedtoolcache/windows/go/${{ matrix.go }}/x64/bin/go.exe env
/c/hostedtoolcache/windows/go/1.20.6/x64/bin/go.exe env
pkg-config --cflags --libs MagickWand
MAGICK_CONFIGURE_PATH=/d/a/_temp/msys/msys64/mingw64/etc/ImageMagick-7 convert -list configure
- name: Test
shell: msys2 {0}
run: >
MAGICK_CONFIGURE_PATH=/d/a/_temp/msys/msys64/mingw64/etc/ImageMagick-7
/c/hostedtoolcache/windows/go/${{ matrix.go }}/x64/bin/go.exe test -v ./imagick
/c/hostedtoolcache/windows/go/1.20.6/x64/bin/go.exe test -v ./imagick

0 comments on commit b953ce4

Please sign in to comment.