From b9c09ef27188155723560b4fbcccca10a52b40a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Thu, 2 Jan 2025 08:02:10 +0100 Subject: [PATCH] ci: misc minor fixes --- .github/workflows/extensions.yml | 7 ++++++- extensions/Makefile | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/extensions.yml b/.github/workflows/extensions.yml index 543bf3cc..11821081 100644 --- a/.github/workflows/extensions.yml +++ b/.github/workflows/extensions.yml @@ -42,7 +42,12 @@ jobs: Copy-Item sqlite-amalgamation-3470200\sqlite3.h . Copy-Item sqlite-amalgamation-3470200\sqlite3ext.h . - - name: Build C files + - name: Build C files (Unix) + if: runner.os != 'Windows' + run: cd extensions && make + + - name: Build C files (Windows) + if: runner.os == 'Windows' run: | & "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" cd extensions && make diff --git a/extensions/Makefile b/extensions/Makefile index 618d1e74..b4995917 100644 --- a/extensions/Makefile +++ b/extensions/Makefile @@ -21,6 +21,8 @@ else endif endif +$(info OUTPUT=$(OUTPUT)) + all: $(OUTPUT) headers: