Update and fix Github Actions
This commit is contained in:
parent
dca5a11476
commit
129599e85f
|
@ -11,8 +11,13 @@ jobs:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Install alsa
|
- name: Install alsa
|
||||||
run: sudo apt-get install libasound2-dev
|
run: sudo apt-get install libasound2-dev
|
||||||
- name: Install clippy
|
- name: Install stable
|
||||||
run: rustup component add clippy
|
uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
profile: minimal
|
||||||
|
toolchain: stable
|
||||||
|
override: true
|
||||||
|
components: clippy
|
||||||
- name: Run clippy
|
- name: Run clippy
|
||||||
uses: actions-rs/clippy-check@v1
|
uses: actions-rs/clippy-check@v1
|
||||||
with:
|
with:
|
||||||
|
@ -27,6 +32,8 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
- name: Install alsa
|
||||||
|
run: sudo apt-get install libasound2-dev
|
||||||
- name: Run cargo publish
|
- name: Run cargo publish
|
||||||
env:
|
env:
|
||||||
MANIFEST: alsa-sys/Cargo.toml
|
MANIFEST: alsa-sys/Cargo.toml
|
||||||
|
@ -46,6 +53,7 @@ jobs:
|
||||||
- name: Install stable
|
- name: Install stable
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
|
profile: minimal
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
- name: Run without features
|
- name: Run without features
|
||||||
|
@ -74,6 +82,7 @@ jobs:
|
||||||
- name: Install stable
|
- name: Install stable
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
|
profile: minimal
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
- name: Build beep example
|
- name: Build beep example
|
||||||
|
@ -103,6 +112,7 @@ jobs:
|
||||||
- name: Install stable
|
- name: Install stable
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
|
profile: minimal
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
target: ${{ matrix.version }}-pc-windows-msvc
|
target: ${{ matrix.version }}-pc-windows-msvc
|
||||||
override: true
|
override: true
|
||||||
|
|
Loading…
Reference in New Issue