Merge pull request #344 from Luni-4/cargo-publish

Update and fix Github Actions
This commit is contained in:
est31 2019-10-26 15:45:33 +02:00 committed by GitHub
commit 8f28048f61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 2 deletions

View File

@ -11,8 +11,13 @@ jobs:
- uses: actions/checkout@v1
- name: Install alsa
run: sudo apt-get install libasound2-dev
- name: Install clippy
run: rustup component add clippy
- name: Install stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: clippy
- name: Run clippy
uses: actions-rs/clippy-check@v1
with:
@ -27,6 +32,8 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Install alsa
run: sudo apt-get install libasound2-dev
- name: Run cargo publish
env:
MANIFEST: alsa-sys/Cargo.toml
@ -46,6 +53,7 @@ jobs:
- name: Install stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run without features
@ -74,6 +82,7 @@ jobs:
- name: Install stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: ${{ matrix.target }}
- name: Build beep example
@ -103,6 +112,7 @@ jobs:
- name: Install stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: ${{ matrix.version }}-pc-windows-msvc
override: true