From 68c63a070a10501a9ffe8c4aa33b52a4cad0030c Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Mon, 18 Nov 2019 08:09:46 -0500 Subject: [PATCH] Add a nightly release build GH Action --- .github/workflows/nightly.yml | 70 +++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 .github/workflows/nightly.yml diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 0000000000..e26d89850b --- /dev/null +++ b/.github/workflows/nightly.yml @@ -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