Skip to content

Refactor route proximity groups #794

Refactor route proximity groups

Refactor route proximity groups #794

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test-build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Build and run tests
run: cargo test --verbose --benches
- name: Build and run examples
run: |
cargo run --example cvrp
cargo run --example pdptw
cargo run --example custom_constraint
cargo run --example custom_objective
- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features --tests --examples -- -D warnings
release-build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Release build
run: cargo build --release --verbose
wasm-build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Build WebAssembly
run: |
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
cd vrp-cli
wasm-pack build --target web
- name: Upload WebAssembly artifact
uses: actions/upload-artifact@v4
with:
name: vrp_cli_wasm
path: vrp-cli/pkg/