fix: make MacOS builds work (#61)

add/first-example v1.3.1
Ettore Di Giacinto 2 years ago committed by GitHub
parent 3e71c90949
commit 676e15f785
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 29
      .github/workflows/test.yml
  2. 4
      Makefile

@ -26,20 +26,19 @@ jobs:
run: | run: |
make test make test
# macOS-latest: macOS-latest:
# runs-on: macOS-latest runs-on: macOS-latest
# steps: steps:
# - name: Clone - name: Clone
# uses: actions/checkout@v1 uses: actions/checkout@v1
# with: with:
# submodules: true submodules: true
# - name: Dependencies
# run: |
# brew update
# brew install sdl2
# - name: Test - name: Dependencies
# run: | run: |
# make test brew update
brew install sdl2
- name: Test
run: |
make test

@ -3,8 +3,8 @@ GOTEST=$(GOCMD) test
GOVET=$(GOCMD) vet GOVET=$(GOCMD) vet
BINARY_NAME=local-ai BINARY_NAME=local-ai
GOLLAMA_VERSION?=llama.cpp-8687c1f GOLLAMA_VERSION?=llama.cpp-8687c1f
GOGPT4ALLJ_VERSION?=1f548782d80d48b9a0fac33aae6f129358787bc0 GOGPT4ALLJ_VERSION?=1f7bff57f66cb7062e40d0ac3abd2217815e5109
GOGPT2_VERSION?=1c24f5b86ac428cd5e81dae1f1427b1463bd2b06 GOGPT2_VERSION?=245a5bfe6708ab80dc5c733dcdbfbe3cfd2acdaa
GREEN := $(shell tput -Txterm setaf 2) GREEN := $(shell tput -Txterm setaf 2)
YELLOW := $(shell tput -Txterm setaf 3) YELLOW := $(shell tput -Txterm setaf 3)

Loading…
Cancel
Save