mirror of
https://github.com/xtool-org/xtool.git
synced 2026-11-16 20:41:53 +03:00
Build debug AppImage
This commit is contained in:
@@ -2,7 +2,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
# pull_request:
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
@@ -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
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user