From ca44c2a3119913d24f8ec4671efd8fc5e484da59 Mon Sep 17 00:00:00 2001 From: Krishnan Winter <70742547+Kswin01@users.noreply.github.com> Date: Tue, 26 Mar 2024 11:50:43 +1100 Subject: [PATCH 1/9] Update ci.yaml --- .github/workflows/ci.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 58e9a43..33b1fc4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,7 +3,9 @@ name: CI on: pull_request: push: - branches: ["main"] + branches: + - main + - ci jobs: build_profiler_example_linux_x86_64: From f8ae0e43552149fec3ac452f807b5e47cffee281 Mon Sep 17 00:00:00 2001 From: Krishnan Winter <70742547+Kswin01@users.noreply.github.com> Date: Tue, 26 Mar 2024 11:54:25 +1100 Subject: [PATCH 2/9] Update ci.yaml --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 33b1fc4..f779e0b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,6 +36,6 @@ jobs: - name: Install Rust run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - name: Build toperf - run: cargo build --manifest-path=./toperf/Cargo.toml + run: sudo cargo build --manifest-path=./toperf/Cargo.toml - name: Test run run: ./ci/test_toperf.sh From 7d65f6983e4ca9628c1ab059916348a5c9fe52c1 Mon Sep 17 00:00:00 2001 From: Krishnan Winter <70742547+Kswin01@users.noreply.github.com> Date: Tue, 26 Mar 2024 12:01:26 +1100 Subject: [PATCH 3/9] Update ci.yaml --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f779e0b..b816d57 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,6 +36,6 @@ jobs: - name: Install Rust run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - name: Build toperf - run: sudo cargo build --manifest-path=./toperf/Cargo.toml + run: cargo build --manifest-path=${PWD}/toperf/Cargo.toml - name: Test run run: ./ci/test_toperf.sh From f13796cd357cfb49c1a2e32bb450aa72c5b34474 Mon Sep 17 00:00:00 2001 From: Krishnan Winter <70742547+Kswin01@users.noreply.github.com> Date: Tue, 26 Mar 2024 12:06:40 +1100 Subject: [PATCH 4/9] Update ci.yaml --- .github/workflows/ci.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b816d57..9a905e9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,6 +36,8 @@ jobs: - name: Install Rust run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - name: Build toperf - run: cargo build --manifest-path=${PWD}/toperf/Cargo.toml + run: | + cd toperf/ + cargo build - name: Test run run: ./ci/test_toperf.sh From 596457e043339fc2953e028804f001cc18c64ed4 Mon Sep 17 00:00:00 2001 From: Krishnan Winter <70742547+Kswin01@users.noreply.github.com> Date: Tue, 26 Mar 2024 12:08:58 +1100 Subject: [PATCH 5/9] Update ci.yaml --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9a905e9..f4fd687 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,7 +37,7 @@ jobs: run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - name: Build toperf run: | - cd toperf/ + cd ./toperf/ cargo build - name: Test run run: ./ci/test_toperf.sh From 1fa907f49eb51c24e580da4c99c6e2fdea52f021 Mon Sep 17 00:00:00 2001 From: Krishnan Winter <70742547+Kswin01@users.noreply.github.com> Date: Tue, 26 Mar 2024 12:09:47 +1100 Subject: [PATCH 6/9] Update ci.yaml --- .github/workflows/ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f4fd687..6b4670e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,6 +37,7 @@ jobs: run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - name: Build toperf run: | + pwd cd ./toperf/ cargo build - name: Test run From c0aa69cf3534252db100867249086110b9f528e6 Mon Sep 17 00:00:00 2001 From: Krishnan Winter <70742547+Kswin01@users.noreply.github.com> Date: Tue, 26 Mar 2024 12:10:44 +1100 Subject: [PATCH 7/9] Update ci.yaml --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6b4670e..06b9dae 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,7 +37,7 @@ jobs: run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - name: Build toperf run: | - pwd + ls cd ./toperf/ cargo build - name: Test run From 833bf7298e3d6b7be36049fc13ab22b2e8ac1030 Mon Sep 17 00:00:00 2001 From: Krishnan Winter <70742547+Kswin01@users.noreply.github.com> Date: Tue, 26 Mar 2024 12:13:08 +1100 Subject: [PATCH 8/9] Update ci.yaml --- .github/workflows/ci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 06b9dae..13a5ac9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,6 +12,8 @@ jobs: name: Build example (Linux x86-64) runs-on: ubuntu-20.04 steps: + - name: Checkout repository + uses: actions/checkout@v4 - name: Download Microkit SDK run: ./ci/acquire_sdk.sh microkit-sdk.zip ${{ secrets.GITHUB_TOKEN }} linux-x86-64 shell: bash @@ -33,6 +35,8 @@ jobs: name: Build/test toperf (Linux x86-64) runs-on: ubuntu-20.04 steps: + - name: Checkout repository + uses: actions/checkout@v4 - name: Install Rust run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - name: Build toperf From 69852deb451d53d1d383c87ad949a25db2d064d2 Mon Sep 17 00:00:00 2001 From: Krishnan Winter <70742547+Kswin01@users.noreply.github.com> Date: Tue, 26 Mar 2024 12:13:55 +1100 Subject: [PATCH 9/9] Update ci.yaml --- .github/workflows/ci.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 13a5ac9..fd464e8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -41,7 +41,6 @@ jobs: run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - name: Build toperf run: | - ls cd ./toperf/ cargo build - name: Test run