add: cluster_deploy #28
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: Install Ansible | |
run: sudo apt install python3 python3-pip && 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 -v scripts/ans/ans_install_build.yml | |
- name: Build WasmEdge Image | |
run: bash docker/WasmEdge/build_image.sh | |
- name: Build release | |
run: sudo source /root/.bashrc && cargo build --release | |
- name: Build WasmServerless Image | |
run: bash docker/WasmServerless/build_image.sh | |
- name: CI | |
run: bash scripts/deploy_single_node/ci.sh |