Skip to content

Commit

Permalink
try package.yml script without using cross
Browse files Browse the repository at this point in the history
  • Loading branch information
GyulyVGC committed Jan 2, 2025
1 parent 4c47935 commit 9c6b84b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,19 @@ jobs:
with:
targets: ${{ matrix.target }}

- name: Install Cross
if: matrix.os == 'ubuntu'
run: cargo install cross --git https://github.com/cross-rs/cross

- name: Clippy (release mode)
run: cargo clippy --release -- -D warnings

- name: Build binary
if: matrix.os == 'ubuntu'
run: cross build --release --target ${{ matrix.target }}
# - name: Install Cross
# if: matrix.os == 'ubuntu'
# run: cargo install cross --git https://github.com/cross-rs/cross

# - name: Build binary
# if: matrix.os == 'ubuntu'
# run: cross build --release --target ${{ matrix.target }}

- name: Build binary
if: matrix.os == 'macos' || matrix.os == 'windows'
# if: matrix.os == 'macos' || matrix.os == 'windows'
run: cargo build --release --target ${{ matrix.target }}

- name: Upload build artifacts
Expand Down

0 comments on commit 9c6b84b

Please sign in to comment.