mirror of
https://github.com/xtool-org/xtool.git
synced 2026-02-04 11:53:30 +01:00
28 lines
616 B
YAML
28 lines
616 B
YAML
on:
|
|
- push
|
|
jobs:
|
|
build-linux:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
host:
|
|
- runner: ubuntu-24.04
|
|
arch: x86_64
|
|
- runner: ubuntu-24.04-arm
|
|
arch: aarch64
|
|
runs-on: ${{ matrix.host.runner }}
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Build
|
|
run: |
|
|
docker compose run --build --rm xtool swift build --product xtool
|
|
build-macos:
|
|
runs-on: macos-15
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Build
|
|
run: |
|
|
swift build --product xtool
|