From 46ea2190ed4a1620ef3c0bef610969c0b4a8e1b9 Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Thu, 9 Sep 2021 20:05:48 +0200 Subject: [PATCH] =?UTF-8?q?Int=C3=A9gration=20continue.=20(#1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..8f44509 --- /dev/null +++ b/.github/workflows/main.yml @@ -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