Commit 7041eebf authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

Merge remote-tracking branch 'origin/nightly' into feat/tokio

parents d031c0f2 933b52bf
name: CD
on:
push:
branches: ["main"]
workflow_run:
workflows: ["CI"]
types:
- completed
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Build
run: cargo build --release
- name: Publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo publish
name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
on: [push, pull_request]
jobs:
linux:
......@@ -22,16 +18,16 @@ jobs:
target: armv7
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: setup
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Build
run: cargo build --release
- name: Run tests
run: cargo test
run: cargo test --all-features
windows:
runs-on: ${{ matrix.platform.runner }}
......@@ -44,29 +40,13 @@ jobs:
target: x86
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: setup
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Build
run: cargo build --release
- name: Run tests
run: cargo test
release:
runs-on: ubuntu-latest
needs: [linux, windows]
steps:
- uses: actions/checkout@v3
- name: Setup
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build
run: cargo build --release
- name: Publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo publish
run: cargo test --all-features
......@@ -4,11 +4,11 @@ Tenjin is The software-defined networking framework written in Rust, offering hi
## Menu
- [Installation to your project](#Installation-to-your-project)
- [Installation for cli](#Installation-for-cli)
- [Cli usage](#Cli-usage)
- [Run The example controller](#Run-The-example-controller)
- [Mininet](#Mininet)
- [Installation to your project](#installation-to-your-project)
- [Installation for cli](#installation-for-cli)
- [Cli usage](#cli-usage)
- [Run The example controller](#run-The-example-controller)
- [Mininet](#mininet)
## Installation to your project
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment