Skip to content

Commit

Permalink
Update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
ricott1 committed Sep 23, 2024
1 parent 36f7ebd commit 6d316be
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ jobs:
strategy:
matrix:
include:
- build: linux
os: ubuntu-latest
target: x86_64-unknown-linux-musl

- build: macos_x86
os: macos-latest
target: x86_64-apple-darwin
Expand All @@ -31,14 +27,21 @@ jobs:
- build: windows
os: windows-latest
target: x86_64-pc-windows-gnu

- build: linux
os: ubuntu-latest
target: x86_64-unknown-linux-musl

steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Get the release version from the tag
shell: bash
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV

- name: Install alsa.pc on Ubuntu
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y libasound2-dev libudev-dev librust-alsa-sys-dev

- name: Install Rust
# Or @nightly if you want
Expand All @@ -48,11 +51,6 @@ jobs:
# Make Rust compile to our target (defined in the matrix)
targets: ${{ matrix.target }}


- name: Install alsa.pc on Ubuntu
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y libasound2-dev libudev-dev librust-alsa-sys-dev

- name: Build
uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit 6d316be

Please sign in to comment.