Skip to content

Commit

Permalink
drop macos test automation
Browse files Browse the repository at this point in the history
  • Loading branch information
tonimelisma committed Feb 25, 2024
1 parent 8c5111c commit 25dadbf
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,21 @@ on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
env:
CGO_CFLAGS_ALLOW: -Xpreprocessor
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ubuntu-latest

steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.13
go-version: ^1.21

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Install linux deps
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get -y install libopenjp2-7
sudo apt-get -y install libvips-dev
- name: Install macos deps
if: matrix.os == 'macos-latest'
run: |
brew install vips
- name: Get dependencies
run: |
go get -v -t -d ./...
Expand Down

0 comments on commit 25dadbf

Please sign in to comment.