1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 12:24:04 +00:00

ci: windows fixes, makefile fix

This commit is contained in:
Samuel Štancl 2025-01-02 08:18:36 +01:00
parent 2bee323ef7
commit 772cbd9de0
2 changed files with 3 additions and 18 deletions

View file

@ -42,30 +42,13 @@ jobs:
Copy-Item sqlite-amalgamation-3470200\sqlite3.h .
Copy-Item sqlite-amalgamation-3470200\sqlite3ext.h .
- name: Debug PATH
if: runner.os == 'Windows'
run: |
where gcc
gcc --version
where clang
clang --versino
& "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
echo $env:PATH
where cl
- name: Debug uname -m
if: runner.os != 'Windows'
run: uname -m
- name: Build C files (Unix)
if: runner.os != 'Windows'
- name: Build C files
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
- name: Commit output files
run: |
cd extensions

View file

@ -1,5 +1,7 @@
.PHONY: all headers
OUTPUT :=
ifeq ($(OS),Windows_NT)
OUTPUT = lib/noattach.dll
CCFLAGS = -shared