Skip to content

Commit

Permalink
add windows aarch64 release #73
Browse files Browse the repository at this point in the history
  • Loading branch information
a-wing committed Apr 29, 2024
1 parent 0396388 commit e6e8108
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ jobs:
matrix:
job:
- { target: aarch64-apple-darwin , os: macos-13 }
- { target: aarch64-pc-windows-gnu , os: windows-2022 }
- { target: aarch64-pc-windows-msvc , os: windows-2022 }
- { target: aarch64-linux-android , os: ubuntu-22.04, use-cross: true }
- { target: aarch64-unknown-linux-gnu , os: ubuntu-22.04, use-cross: true }
- { target: aarch64-unknown-linux-musl , os: ubuntu-22.04, use-cross: true }
- { target: arm-unknown-linux-gnueabihf , os: ubuntu-22.04, use-cross: true }
- { target: arm-unknown-linux-musleabihf, os: ubuntu-22.04, use-cross: true }
- { target: i686-pc-windows-msvc , os: windows-2022 }
Expand All @@ -41,6 +44,16 @@ jobs:
- name: Checkout source code
uses: actions/checkout@v4

- uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- name: Install
run: bun install

- name: Build Webui
run: bun run build

- name: Get the release version from the tag
run: |
echo "version is: ${{ env.VERSION }}"
Expand Down Expand Up @@ -116,7 +129,7 @@ jobs:
mkdir -p "${ARCHIVE_DIR}"
cp "${{ env.BUILD_PATH }}/live777${{ env.EXE_SUFFIX }}" "$ARCHIVE_DIR"
cp "README.md" "LICENSE" "config-dist.toml" "live777.service" "$ARCHIVE_DIR"
cp "README.md" "LICENSE" "conf/live777.toml" "conf/live777.service" "$ARCHIVE_DIR"
# base compressed package
case ${{ matrix.job.target }} in
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
- name: Build Webui
run: bun run build
- name: Build
run: cargo build --verbose
run: cargo build --all --verbose
- name: Run tests
run: cargo test --verbose
run: cargo test --all --verbose

check_clippy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit e6e8108

Please sign in to comment.