mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 23:54:03 +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\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
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
.PHONY: all headers
|
||||
|
||||
OUTPUT :=
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
OUTPUT = lib/noattach.dll
|
||||
CCFLAGS = -shared
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue