Intégration continue. (#1)
This commit is contained in:
parent
e24587c83f
commit
46ea2190ed
32
.github/workflows/main.yml
vendored
Normal file
32
.github/workflows/main.yml
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
name: Rust
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ principale ]
|
||||
pull_request:
|
||||
branches: [ principale ]
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
rust:
|
||||
- stable
|
||||
- nightly
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: ${{ matrix.rust }}
|
||||
override: true
|
||||
|
||||
- name: Lancer les exemples
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: run
|
Loading…
Reference in a new issue