mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
Add a nightly release build GH Action
This commit is contained in:
parent
722b60c679
commit
68c63a070a
1 changed files with 70 additions and 0 deletions
70
.github/workflows/nightly.yml
vendored
Normal file
70
.github/workflows/nightly.yml
vendored
Normal file
|
@ -0,0 +1,70 @@
|
|||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
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
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- run: rustup component add rustfmt
|
||||
- uses: actions-rs/cargo@v1
|
||||
name: update cargo (needed for Inkwell)
|
||||
with:
|
||||
command: update
|
||||
- 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…
Add table
Add a link
Reference in a new issue