perkeep/.github/workflows/tests-macos.yml

30 lines
661 B
YAML
Raw Normal View History

on: [push, pull_request]
name: "tests/macos"
jobs:
test:
strategy:
matrix:
2021-07-29 03:31:22 +00:00
go-version: [1.16.x]
platform: [macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: install sqlite
run: brew install sqlite3 pkg-config
- name: Symlink source into GOPATH for devcam
run: |
mkdir $(go env GOPATH)/src
ln -s $(pwd) $(go env GOPATH)/src/perkeep.org
- name: Build and test
run: |
go run make.go -v=true -sqlite=true
devcam test -sqlite=true