mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 06:24:04 +00:00
ci: windows fixes, makefile fix
This commit is contained in:
parent
2bee323ef7
commit
772cbd9de0
2 changed files with 3 additions and 18 deletions
19
.github/workflows/extensions.yml
vendored
19
.github/workflows/extensions.yml
vendored
|
|
@ -42,30 +42,13 @@ jobs:
|
||||||
Copy-Item sqlite-amalgamation-3470200\sqlite3.h .
|
Copy-Item sqlite-amalgamation-3470200\sqlite3.h .
|
||||||
Copy-Item sqlite-amalgamation-3470200\sqlite3ext.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
|
- name: Debug uname -m
|
||||||
if: runner.os != 'Windows'
|
if: runner.os != 'Windows'
|
||||||
run: uname -m
|
run: uname -m
|
||||||
|
|
||||||
- name: Build C files (Unix)
|
- name: Build C files
|
||||||
if: runner.os != 'Windows'
|
|
||||||
run: cd extensions && make
|
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
|
- name: Commit output files
|
||||||
run: |
|
run: |
|
||||||
cd extensions
|
cd extensions
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
.PHONY: all headers
|
.PHONY: all headers
|
||||||
|
|
||||||
|
OUTPUT :=
|
||||||
|
|
||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
OUTPUT = lib/noattach.dll
|
OUTPUT = lib/noattach.dll
|
||||||
CCFLAGS = -shared
|
CCFLAGS = -shared
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue