Skip to content

Commit

Permalink
Keep target dir
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 authored Jan 20, 2020
1 parent b767c40 commit 0db62fa
Showing 1 changed file with 22 additions and 17 deletions.
39 changes: 22 additions & 17 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,27 @@ on:
- '**.md'

jobs:
toolchain_setup:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/[email protected]
- name: rust-toolchain
uses: actions-rs/[email protected]
with:
toolchain: nightly
target: x86_64-unknown-linux-gnu
profile: minimal
- name: Master Toolchain Setup
run: bash setup-toolchain.sh

build:
needs: toolchain_setup
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/[email protected]
- name: rust-toolchain
uses: actions-rs/[email protected]
with:
toolchain: nightly
target: x86_64-unknown-linux-gnu
profile: minimal
- name: Master Toolchain Setup
run: bash setup-toolchain.sh
- name: Build
run: cargo build --features integration
- name: Upload traget/
uses: actions/[email protected]
with:
name: target
path: target

test:
strategy:
Expand All @@ -57,10 +56,16 @@ jobs:
- 'rust-lang/log'
- 'chronotope/chrono'

needs: [toolchain_setup, build]
needs: build
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/[email protected]
- name: Download target/
uses: actions/[email protected]
with:
name: target
- name: Test ${{ matrix.integration }}
run: cargo test --test integration --features integration
env:
Expand Down

0 comments on commit 0db62fa

Please sign in to comment.