File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 8585
8686 - name : build sqlite-sync
8787 run : make ${{ matrix.make && matrix.make || ''}}
88+ shell : bash
8889
8990 - name : windows install sqlite3
9091 if : matrix.os == 'windows-latest'
Original file line number Diff line number Diff line change @@ -11,12 +11,13 @@ CURL_VERSION ?= 8.12.1
1111# Set default platform if not specified
1212ifeq ($(OS ) ,Windows_NT)
1313 PLATFORM := windows
14+ HOST: = windows
1415else
15- UNAME_S : = $(shell uname -s)
16- ifeq ($(UNAME_S),Darwin )
16+ HOST = $(shell uname -s | tr '[:upper:]' '[:lower:]' )
17+ ifeq ($(HOST),darwin )
1718 PLATFORM := macos
1819 else
19- PLATFORM := linux
20+ PLATFORM := $( HOST )
2021 endif
2122endif
2223
@@ -80,7 +81,6 @@ else ifeq ($(PLATFORM),android)
8081 $(error "Android NDK must be set")
8182 endif
8283
83- HOST = $(shell uname -s | tr '[:upper:]' '[:lower:]')
8484 BIN = $(ANDROID_NDK ) /toolchains/llvm/prebuilt/$(HOST ) -x86_64/bin
8585
8686 ifneq (,$(filter $(ARCH),arm64 arm64-v8a))
@@ -244,7 +244,11 @@ $(CURL_LIB):
244244 # --without-zsh-functions-dir \
245245 # --without-libgsasl \
246246
247+ ifeq ($(PLATFORM),windows)
248+ "C:/msys64/usr/bin/bash.exe" "cd $(CURL_SRC) && make"
249+ else
247250 cd $(CURL_SRC) && make
251+ endif
248252
249253 mkdir -p $(CURL_DIR)/$(PLATFORM)
250254 mv $(CURL_SRC)/lib/.libs/libcurl.a $(CURL_DIR)/$(PLATFORM)
You can’t perform that action at this time.
0 commit comments