From 37facbdca27d7b59b9581ccac84e232b201822aa Mon Sep 17 00:00:00 2001 From: Bastien Faivre Date: Mon, 20 Jan 2025 13:49:49 +0100 Subject: [PATCH] fix: build script --- Cargo.toml | 2 +- benchmark/playbooks/build.yml | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 06860db..8c7a76f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ members = [ "benchmark/code", "dog", - "examples/simple", + "examples/*", # Tests "dog/tests", diff --git a/benchmark/playbooks/build.yml b/benchmark/playbooks/build.yml index 3626009..78cab80 100644 --- a/benchmark/playbooks/build.yml +++ b/benchmark/playbooks/build.yml @@ -17,14 +17,14 @@ - name: Copy dog directory to remote machine synchronize: src: "{{ playbook_dir }}/../../../libp2p-dog/dog" - dest: /home/{{ ansible_ssh_user }}/libp2p-dog/dog + dest: /home/{{ ansible_ssh_user }}/libp2p-dog/ mode: push delete: true - name: Copy benchmark code directory to remote machine synchronize: src: "{{ playbook_dir }}/../../../libp2p-dog/benchmark/code" - dest: /home/{{ ansible_ssh_user }}/libp2p-dog/benchmark/code + dest: /home/{{ ansible_ssh_user }}/libp2p-dog/benchmark/ mode: push delete: true @@ -35,6 +35,13 @@ mode: push delete: true + - name: Copy examples (needed due to workspace dependencies) + synchronize: + src: "{{ playbook_dir }}/../../../libp2p-dog/examples" + dest: /home/{{ ansible_ssh_user }}/libp2p-dog/ + mode: push + delete: true + - name: Build container shell: | docker build \