Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sreyas-Sreelal authored Feb 4, 2024
1 parent c8ba4f2 commit b1675ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
os: windows-latest
rust: stable-i686
- build: debian11
os: debian-11
os: ubuntu-latest
rust: stable-i686

steps:
Expand All @@ -38,7 +38,7 @@ jobs:
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install gcc-multilib libssl-dev:i386 -y
if: matrix.os == 'ubuntu-20.04' || matrix.os == 'debian-11'
if: matrix.os == 'ubuntu-20.04' || matrix.os == 'ubuntu-latest'

- name: Install Rust (rustup)
run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }}
Expand All @@ -55,8 +55,8 @@ jobs:
if: matrix.os == 'ubuntu-20.04'

- name: Create archive for Debian 11
run: 7z a -ttar -so -an ./target/release/lib${{ env.RELEASE_BIN }}.so ${{ env.RELEASE_ADDS }} | 7z a -si ./artifacts/${{ env.RELEASE_BIN }}-debian-x86.tar.gz
if: matrix.os == 'debian-11'
run: 7z a -ttar -so -an ./target/release/lib${{ env.RELEASE_BIN }}.so ${{ env.RELEASE_ADDS }} | 7z a -si ./artifacts/${{ env.RELEASE_BIN }}-ubuntu-latest-x86.tar.gz
if: matrix.os == 'ubuntu-latest'

- name: Create archive for Windows
run: 7z a -tzip ./artifacts/${{ env.RELEASE_BIN }}-windows-x86.zip ./target/release/${{ env.RELEASE_BIN }}.dll ${{ env.RELEASE_ADDS }}
Expand Down

0 comments on commit b1675ac

Please sign in to comment.