Skip to content

init

init #2

Workflow file for this run

name: Release Binaries
on:
push:
paths-ignore:
- '**.md'
- 'Makefile'
- 'config.json'
tags:
- '*'
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
env:
CGO_CFLAGS_ALLOW: -Xpreprocessor
strategy:
matrix:
os: [ubuntu-18.04, macOS-10.15]
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ^1.23
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Install linux deps
if: matrix.os == 'ubuntu-18.04'
run: |
sudo add-apt-repository -y ppa:tonimelisma/ppa
sudo apt-get -y install libvips-dev
- name: Install macos deps
if: matrix.os == 'macos-10.15'
run: |
brew install vips
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -o pixfolio .