mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 03:34:03 +00:00
ci: fix workflow on windows, fix makefile
This commit is contained in:
parent
3866f59b60
commit
f032b452fb
2 changed files with 11 additions and 1 deletions
10
.github/workflows/extensions.yml
vendored
10
.github/workflows/extensions.yml
vendored
|
|
@ -51,7 +51,15 @@ jobs:
|
||||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git config --local user.name "github-actions[bot]"
|
git config --local user.name "github-actions[bot]"
|
||||||
git add lib/
|
git add lib/
|
||||||
git commit -m "Auto-build: Update output files [skip ci]" || echo "No changes to commit"
|
git commit -m "Auto-build: Update extensions [skip ci]" || echo "No changes to commit"
|
||||||
|
|
||||||
|
- name: Push files (Unix)
|
||||||
|
if: runner.os != 'Windows'
|
||||||
|
run: |
|
||||||
for attempt in {1..3}; do
|
for attempt in {1..3}; do
|
||||||
git pull --rebase && git push && break || sleep 5
|
git pull --rebase && git push && break || sleep 5
|
||||||
done
|
done
|
||||||
|
|
||||||
|
- name: Push files (Windows)
|
||||||
|
if: runner.os == 'Windows'
|
||||||
|
run: git pull --rebase && git push
|
||||||
|
|
|
||||||
|
|
@ -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