forked from cory/tildefriends
build: Let's try to artifact the x86_64 + ARM linux executables.
This commit is contained in:
parent
cd378b721d
commit
0cbf66c007
@ -29,10 +29,9 @@ jobs:
|
|||||||
- run: docker build .
|
- run: docker build .
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: out/TildeFriends-release.fdroid.apk
|
path: |
|
||||||
- uses: actions/upload-artifact@v3
|
out/TildeFriends-release.fdroid.apk
|
||||||
with:
|
out/winrelease/tildefriends.exe
|
||||||
path: out/winrelease/tildefriends.exe
|
out/tildefriends-x86_64.AppImage
|
||||||
- uses: actions/upload-artifact@v3
|
out/release/tildefriends.standalone
|
||||||
with:
|
out/armrelease/tildefriends.standalone
|
||||||
path: out/tildefriends-x86_64.AppImage
|
|
||||||
|
11
GNUmakefile
11
GNUmakefile
@ -160,6 +160,9 @@ all: $(IOS_APPS) \
|
|||||||
out/tildefriends-iossimdebug.app/tildefriends \
|
out/tildefriends-iossimdebug.app/tildefriends \
|
||||||
out/tildefriends-iossimrelease.app/tildefriends
|
out/tildefriends-iossimrelease.app/tildefriends
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(HAVE_CROSS_AARCH64),1)
|
||||||
|
all: out/armrelease/tildefriends.standalone
|
||||||
|
endif
|
||||||
|
|
||||||
DEBUG_TARGETS := \
|
DEBUG_TARGETS := \
|
||||||
out/debug/tildefriends \
|
out/debug/tildefriends \
|
||||||
@ -264,7 +267,7 @@ $(LINUX_TARGETS) $(MACOS_TARGETS): LDFLAGS += -Ldeps/openssl/$(UNAME_S)/$(UNAME_
|
|||||||
|
|
||||||
ifeq ($(UNAME_M),x86_64)
|
ifeq ($(UNAME_M),x86_64)
|
||||||
ifeq ($(UNAME_S),Linux)
|
ifeq ($(UNAME_S),Linux)
|
||||||
all: appimage
|
all: appimage out/release/tildefriends.standalone
|
||||||
endif
|
endif
|
||||||
ifneq ($(UNAME_S),Haiku)
|
ifneq ($(UNAME_S),Haiku)
|
||||||
out/debug/tildefriends: CFLAGS += -fsanitize=address -fsanitize=undefined -fno-common
|
out/debug/tildefriends: CFLAGS += -fsanitize=address -fsanitize=undefined -fno-common
|
||||||
@ -1238,7 +1241,7 @@ tarball: ## Build an all-inclusive source tarball (.tar.xz).
|
|||||||
.PHONY: tarball
|
.PHONY: tarball
|
||||||
|
|
||||||
dist: ## Build versions of all distributables for release.
|
dist: ## Build versions of all distributables for release.
|
||||||
dist: release-apk iosrelease-ipa aab $(if $(HAVE_WIN), out/winrelease/tildefriends.standalone.exe) out/TildeFriends-release.fdroid.apk appimage tarball
|
dist: release-apk iosrelease-ipa aab $(if $(HAVE_WIN), out/winrelease/tildefriends.standalone.exe) out/TildeFriends-release.fdroid.apk appimage tarball out/release/tildefriends.standalone $(if $(HAVE_CROSS_AARCH64), out/armrelease/tildefriends.standalone)
|
||||||
@mkdir -p dist/
|
@mkdir -p dist/
|
||||||
@echo "[cp] tildefriends-$(VERSION_NUMBER).tar.xz"
|
@echo "[cp] tildefriends-$(VERSION_NUMBER).tar.xz"
|
||||||
@cp out/tildefriends-$(VERSION_NUMBER).tar.xz dist/tildefriends-$(VERSION_NUMBER).tar.xz
|
@cp out/tildefriends-$(VERSION_NUMBER).tar.xz dist/tildefriends-$(VERSION_NUMBER).tar.xz
|
||||||
@ -1256,6 +1259,10 @@ dist: release-apk iosrelease-ipa aab $(if $(HAVE_WIN), out/winrelease/tildefrien
|
|||||||
@cp out/TildeFriends-release.fdroid.apk dist/TildeFriends-$(VERSION_NUMBER).fdroid.apk
|
@cp out/TildeFriends-release.fdroid.apk dist/TildeFriends-$(VERSION_NUMBER).fdroid.apk
|
||||||
@echo "[cp] TildeFriends-x86_64-$(VERSION_NUMBER).AppImage"
|
@echo "[cp] TildeFriends-x86_64-$(VERSION_NUMBER).AppImage"
|
||||||
@cp out/tildefriends-x86_64.AppImage dist/TildeFriends-x86_64-$(VERSION_NUMBER).AppImage
|
@cp out/tildefriends-x86_64.AppImage dist/TildeFriends-x86_64-$(VERSION_NUMBER).AppImage
|
||||||
|
@echo "[cp] tildefriends-linux-$(UNAME_M)-$(VERSION_NUMBER)"
|
||||||
|
@cp out/release/tildefriends.standalone dist/tildefriends-linux-$(UNAME_M)-$(VERSION_NUMBER)
|
||||||
|
@test $(HAVE_CROSS_AARCH64) && echo "[cp] tildefriends-linux-aarch64-$(VERSION_NUMBER)"
|
||||||
|
@test $(HAVE_CROSS_AARCH64) && cp out/armrelease/tildefriends.standalone dist/tildefriends-linux-aarch64-$(VERSION_NUMBER)
|
||||||
.PHONY: dist
|
.PHONY: dist
|
||||||
|
|
||||||
dist-test: dist ## Exercise some built distributable files, making sure they work as intended.
|
dist-test: dist ## Exercise some built distributable files, making sure they work as intended.
|
||||||
|
Loading…
Reference in New Issue
Block a user