diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fddf6f0..ca29e9a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - uses: Swatinem/rust-cache@v1.3.0 - run: cargo clippy --workspace --all-targets -- -D warnings - yarn: + build_frontend: defaults: run: working-directory: frontend @@ -43,7 +43,7 @@ jobs: - run: yarn run eslint - run: yarn build - cargo: + test_daemons: strategy: matrix: target: [ x86_64-unknown-linux-gnu, x86_64-apple-darwin ] @@ -62,12 +62,12 @@ jobs: override: true toolchain: stable - uses: Swatinem/rust-cache@v1.3.0 - - run: cargo test --workspace --all-features - - run: cargo build --target=${{ matrix.target }} --release --bin maker --bin taker - - name: Smoke test ${{ matrix.target }} release binary + - run: cargo build --all-targets --all-features + - run: cargo test --workspace + - name: Smoke test ${{ matrix.target }} binary run: | - target/${{ matrix.target }}/release/maker & + target/debug/maker & sleep 5s # Wait for maker to start - target/${{ matrix.target }}/release/taker & + target/debug/taker & sleep 5s # Wait for taker to start curl --fail http://localhost:8000/alive