This commit is contained in:
Kabir Oberai
2025-05-30 20:42:18 +05:30
Unverified
parent e638517532
commit 0f9dfd6fd7
+24 -20
View File
@@ -7,30 +7,34 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-appimage:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: |
docker compose run --build --rm xtool Linux/build.sh
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: xtool
path: |
Linux/packages/xtool-aarch64.AppImage
# build-appimage:
# runs-on: ubuntu-24.04
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Build
# run: |
# docker compose run --build --rm xtool Linux/build.sh
# - name: Upload artifact
# uses: actions/upload-artifact@v4
# with:
# name: xtool
# path: |
# Linux/packages/xtool-x86_64.AppImage
run-test:
needs: build-appimage
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: xtool
path: appimage
# - name: Download artifact
# uses: actions/download-artifact@v4
# with:
# name: xtool
# path: appimage
- name: Download artifact (temp)
run: |
mkdir appimage
curl -L https://github.com/xtool-org/xtool/releases/download/1.12.2/xtool-x86_64.AppImage -o appimage/xtool-x86_64.AppImage
chmod +x appimage/xtool-x86_64.AppImage
- name: Run Docker
run: |
brew install --formula docker colima