mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-21 07:49:17 +03:00
Only do nightly build if tests pass
This commit is contained in:
parent
ba018d9283
commit
67c31fa50d
52
.github/workflows/nightly.yml
vendored
52
.github/workflows/nightly.yml
vendored
@ -5,29 +5,8 @@ on:
|
||||
name: Nightly Release Build
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Test Suite
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Install LLVM
|
||||
run: sudo ./ci/install-llvm.sh 8
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- uses: actions-rs/cargo@v1
|
||||
name: update cargo (needed for Inkwell)
|
||||
with:
|
||||
command: update
|
||||
- uses: actions-rs/cargo@v1
|
||||
name: cargo test
|
||||
with:
|
||||
command: test --release
|
||||
|
||||
juild:
|
||||
name: Build
|
||||
build:
|
||||
name: Test and Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
@ -41,30 +20,11 @@ jobs:
|
||||
name: update cargo (needed for Inkwell)
|
||||
with:
|
||||
command: update
|
||||
- uses: actions-rs/cargo@v1
|
||||
name: cargo test
|
||||
with:
|
||||
command: test --release
|
||||
- uses: actions-rs/cargo@v1
|
||||
name: cargo build
|
||||
with:
|
||||
command: build --release
|
||||
|
||||
# clippy:
|
||||
# name: Clippy
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v1
|
||||
# - name: Install LLVM
|
||||
# run: sudo ./ci/install-llvm.sh 8
|
||||
# - uses: actions-rs/toolchain@v1
|
||||
# with:
|
||||
# profile: minimal
|
||||
# toolchain: stable
|
||||
# override: true
|
||||
# - run: rustup component add clippy
|
||||
# - uses: actions-rs/cargo@v1
|
||||
# name: update cargo (needed for Inkwell)
|
||||
# with:
|
||||
# command: update
|
||||
# - uses: actions-rs/cargo@v1
|
||||
# name: cargo clippy
|
||||
# with:
|
||||
# command: clippy
|
||||
# args: --release -- -D warnings
|
||||
|
Loading…
Reference in New Issue
Block a user