mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
test
This commit is contained in:
parent
c08b1eb54f
commit
25788bc30b
20
.github/workflows/build-helper.yml
vendored
20
.github/workflows/build-helper.yml
vendored
@ -15,9 +15,11 @@ jobs:
|
|||||||
runner: "macos-latest-xlarge"
|
runner: "macos-latest-xlarge"
|
||||||
scripthaus: "build-package"
|
scripthaus: "build-package"
|
||||||
- platform: "linux"
|
- platform: "linux"
|
||||||
arch:
|
arch: "arm64"
|
||||||
- "amd64"
|
runner: "ubuntu-latest"
|
||||||
- "arm64"
|
scripthaus: "build-package-linux"
|
||||||
|
- platform: "linux"
|
||||||
|
arch: "amd64"
|
||||||
runner: "ubuntu-latest"
|
runner: "ubuntu-latest"
|
||||||
scripthaus: "build-package-linux"
|
scripthaus: "build-package-linux"
|
||||||
runs-on: ${{ matrix.runner }}
|
runs-on: ${{ matrix.runner }}
|
||||||
@ -56,15 +58,13 @@ jobs:
|
|||||||
echo "WAVETERM_VERSION=${VERSION}" >> "$GITHUB_OUTPUT"
|
echo "WAVETERM_VERSION=${VERSION}" >> "$GITHUB_OUTPUT"
|
||||||
- name: Install Yarn Dependencies
|
- name: Install Yarn Dependencies
|
||||||
run: yarn --frozen-lockfile
|
run: yarn --frozen-lockfile
|
||||||
- name: Build
|
- name: Build ${{ matrix.platform }}/${{ matrix.arch }}
|
||||||
run: |
|
run: ./scripthaus/scripthaus run ${{ matrix.scripthaus }}
|
||||||
for arch in ${{ matrix.arch }}; do
|
env:
|
||||||
echo "Building for ${{ matrix.platform }}/$arch"
|
GOARCH: ${{ matrix.arch }}
|
||||||
GOARCH=$arch ./scripthaus/scripthaus run ${{ matrix.scripthaus }}
|
|
||||||
done
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: waveterm-build-${{ matrix.platform }}-${{ matrix.arch }}
|
name: waveterm-build-${{ matrix.platform }}
|
||||||
path: out/make/*
|
path: out/make/*
|
||||||
retention-days: 2
|
retention-days: 2
|
||||||
upload:
|
upload:
|
||||||
|
Loading…
Reference in New Issue
Block a user