fix: make MacOS builds work (#61)

This commit is contained in:
Ettore Di Giacinto 2023-04-22 11:05:23 +02:00 committed by GitHub
parent 3e71c90949
commit 676e15f785
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 17 deletions

View File

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

View File

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