mirror of
https://github.com/xtool-org/xtool.git
synced 2026-11-16 20:41:53 +03:00
wip
This commit is contained in:
+24
-20
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user