diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 24ead6f..1b8d8fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,6 +38,6 @@ jobs: toolchain: ${{ matrix.rust-toolchain }} components: rust-src override: true - - name: Build + - name: Build the project run: cargo build diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml new file mode 100644 index 0000000..abfbcbb --- /dev/null +++ b/.github/workflows/examples.yml @@ -0,0 +1,22 @@ +name: Build CI + +on: [push, pull_request] + +jobs: + examples: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + rust-toolchain: [stable] + steps: + - uses: actions/checkout@v2 + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: ${{ matrix.rust-toolchain }} + components: rust-src + override: true + - name: Run examples + run: ./scripts/run_examples.sh +