From 3821ce28c8de08f4af18aaa9f5ed5f1b32fa8762 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Fri, 25 Oct 2019 11:30:26 +0200 Subject: [PATCH] Add beta & nightly builds --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11626fa872..b2b2897238 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,8 +9,8 @@ on: - master jobs: - build: - name: Build + build_stable: + name: Build stable runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -21,8 +21,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v1 - with: - submodules: recursive - name: Install Rust uses: actions-rs/toolchain@v1 with: @@ -44,6 +42,29 @@ jobs: with: command: build args: --release + + build_nightly: + name: Build beta & nightly + runs-on: macOS-latest + strategy: + fail-fast: false + matrix: + rust: [beta, nightly] + + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + - name: Build debug + continue-on-error: true + uses: actions-rs/cargo@v1 + with: + command: build test: name: Test