add: cluster_deploy #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
ci-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build WasmEdge Image | |
run: bash docker/WasmEdge/build_image.sh | |
- name: Install Python | |
run: sudo apt install python3 python3-pip | |
- name: Install Ansible | |
run: bash scripts/install/install_ansible.sh | |
- name: Setup Ansible | |
run: bash scripts/deploy_single_node/1.ansible_setup.sh | |
- name: Ansible install all | |
run: ansible-playbook scripts/ans/ans_install_build.yml | |
- name: Build release | |
run: cargo build --release | |
- name: Build WasmServerless Image | |
run: bash docker/WasmServerless/build_image.sh | |
- name: CI | |
run: bash scripts/deploy_single_node/ci.sh |