From 78a13692dffc94a2067597c87a24edaf725d6a19 Mon Sep 17 00:00:00 2001 From: CppCXY <812125110@qq.com> Date: Fri, 22 Nov 2024 20:05:42 +0800 Subject: [PATCH] try build --- .github/workflows/build.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5aa7057..34c0c33 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,16 +16,16 @@ jobs: fail-fast: false matrix: include: - - { os: ubuntu-20.04, target: x86_64-unknown-linux-gnu, platform: linux-x64, cross: general } - - { os: ubuntu-22.04, target: x86_64-unknown-linux-gnu, platform: linux-x64.glibc-2.17, cross: zigbuild } - - { os: ubuntu-22.04, target: aarch64-unknown-linux-gnu, platform: linux-arm64, cross: no_format } - - { os: ubuntu-20.04, target: x86_64-unknown-linux-musl, platform: linux-musl, cross: cross } - - { os: ubuntu-22.04, target: x86_64-unknown-freebsd, platform: linux-bsd, cross: no_format } - - { os: macos-latest, target: x86_64-apple-darwin, platform: darwin-x64, cross: general } - - { os: macos-latest, target: aarch64-apple-darwin, platform: darwin-arm64, cross: general } - - { os: windows-latest, target: x86_64-pc-windows-msvc, platform: win32-x64, cross: general } - - { os: windows-latest, target: i686-pc-windows-msvc, platform: win32-ia32, cross: general } - - { os: windows-latest, target: aarch64-pc-windows-msvc, platform: win32-arm64, cross: general } + - { os: ubuntu-20.04, target: x86_64-unknown-linux-gnu, platform: linux-x64, cross: general } + - { os: ubuntu-22.04, target: x86_64-unknown-linux-gnu, platform: linux-x64, cross: zigbuild, glibc: 2.17 } + - { os: ubuntu-22.04, target: aarch64-unknown-linux-gnu, platform: linux-arm64, cross: no_format } + - { os: ubuntu-20.04, target: x86_64-unknown-linux-musl, platform: linux-musl, cross: cross } + - { os: ubuntu-22.04, target: x86_64-unknown-freebsd, platform: linux-bsd, cross: no_format } + - { os: macos-latest, target: x86_64-apple-darwin, platform: darwin-x64, cross: general } + - { os: macos-latest, target: aarch64-apple-darwin, platform: darwin-arm64, cross: general } + - { os: windows-latest, target: x86_64-pc-windows-msvc, platform: win32-x64, cross: general } + - { os: windows-latest, target: i686-pc-windows-msvc, platform: win32-ia32, cross: general } + - { os: windows-latest, target: aarch64-pc-windows-msvc, platform: win32-arm64, cross: general } runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 @@ -53,7 +53,7 @@ jobs: run: | rustup target add ${{ matrix.target }} cargo install --locked cargo-zigbuild - cross build --release --target ${{ matrix.target }} -p luals + cross zigbuild --release --target ${{ matrix.target }}-gun.${{ matrix.glibc }} -p luals - name: package-uninx if: ${{ matrix.os != 'windows-latest' }} run: |