Skip to content

Commit

Permalink
update CI for debian package
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkAndshark committed Jul 3, 2023
1 parent c301d77 commit 20a8468
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: ubuntu-latest
target: x86_64-debian
- os: windows-latest
target: x86_64-pc-windows-msvc
- os: macOS-latest
Expand All @@ -45,7 +47,7 @@ jobs:
rustc --version
cargo --version
- name: Lint
if: matrix.target == 'x86_64-unknown-linux-gnu'
if: matrix.target == 'x86_64-unknown-linux-gnu' || matrix.target == 'x86_64-debian'
shell: bash
run: |
cargo fmt --all -- --check
Expand All @@ -55,6 +57,13 @@ jobs:
run: |
echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
vcpkg install openssl:x64-windows-static-md
- name: Install cargo-deb
if: matrix.target == 'x86_64-debian'
run: |
apt install dpkg -y
apt install dpkg-dev -y
apt install liblzma-dev -y
cargo install cargo-deb
- name: Run build
shell: bash
run: |
Expand Down

0 comments on commit 20a8468

Please sign in to comment.