Merge "Only compile generated rust code"

This commit is contained in:
Zuul
2024-11-28 16:38:47 +00:00
committed by Gerrit Code Review

View File

@@ -21,7 +21,7 @@
- name: "Pre-Compile current code to ensure it builds"
ansible.builtin.command:
cmd: "cargo build"
cmd: "cargo build -p openstack_sdk -p openstack_cli"
chdir: "{{ rust_project_dir }}"
- name: "Overwrite generated files"
@@ -35,9 +35,9 @@
cmd: "cargo clippy --fix --lib --tests --allow-dirty"
chdir: "{{ rust_project_dir }}"
- name: "Compile new code"
- name: "Compile new code (only generated crates)"
ansible.builtin.command:
cmd: "cargo build"
cmd: "cargo build -p openstack_sdk -p openstack_cli"
chdir: "{{ rust_project_dir }}"
- name: "Checkout new branch"