Build debug AppImage

This commit is contained in:
Kabir Oberai
2025-06-02 15:01:53 +05:30
Unverified
parent 1c8fe965b3
commit aedbc16d8d
4 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ on:
push:
branches:
- main
pull_request:
# pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: docker compose run --build --rm xtool Linux/build.sh
run: XTL_CONFIG=debug make linux-dist
- name: Upload xtool
uses: actions/upload-artifact@v4
with:
+4 -2
View File
@@ -13,8 +13,10 @@ fi
rm -rf staging/tmp
mkdir -p staging/tmp staging/linuxdeploy
swift build --package-path .. -c release --product xtool --static-swift-stdlib
bin="$(swift build --package-path .. -c release --show-bin-path)"
RESOLVED_CONFIG="${XTL_CONFIG:-release}"
swift build --package-path .. -c "${RESOLVED_CONFIG}" --product xtool --static-swift-stdlib
bin="$(swift build --package-path .. -c "${RESOLVED_CONFIG}" --show-bin-path)"
strip "${bin}/xtool"
curr_git_info="$(curl -fsSL https://api.github.com/repos/linuxdeploy/linuxdeploy/git/refs/tags/continuous)"
+1 -1
View File
@@ -54,7 +54,7 @@ linux-clean:
.PHONY: linux-dist
# dist build for Linux
linux-dist:
docker compose run --build --rm xtool Linux/build.sh
docker compose run --build -e XTL_CONFIG --rm xtool Linux/build.sh
.PHONY: mac
# dev build for macOS