Skip to content

Merge pull request #10 from hasantr/windows-compatibility-fix #26

Merge pull request #10 from hasantr/windows-compatibility-fix

Merge pull request #10 from hasantr/windows-compatibility-fix #26

Workflow file for this run

name: Windows
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Build
runs-on: windows-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: 1.14
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Download staticlib
run: curl -L https://github.com/anshulrgoyal/imageflow/releases/download/v1.4.0-rc40/imageflow.zip > imageflow.dll
shell: bash
- name: Download Image
run: curl -L https://jpeg.org/images/jpeg2000-home.jpg > image.jpg
shell: bash
- name: Test
run: go test -ldflags="-r ." -v