From 676e15f78539c722f32acbc6998776b130c861cb Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sat, 22 Apr 2023 11:05:23 +0200 Subject: [PATCH] fix: make MacOS builds work (#61) --- .github/workflows/test.yml | 29 ++++++++++++++--------------- Makefile | 4 ++-- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b53d00ed..f90db18c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 \ No newline at end of file + - name: Dependencies + run: | + brew update + brew install sdl2 + - name: Test + run: | + make test \ No newline at end of file diff --git a/Makefile b/Makefile index 8d31dc0e..6d7ff8e2 100644 --- a/Makefile +++ b/Makefile @@ -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)