From e923d78b894fb96e7100b8a9313995672b821963 Mon Sep 17 00:00:00 2001 From: Arthur Cohen Date: Mon, 22 Apr 2024 16:18:32 +0200 Subject: [PATCH] ci: Source cargo's env file for `configure` step ChangeLog: * .github/workflows/ccpp.yml: Add sourcing of cargo's environment file. --- .github/workflows/ccpp.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 43114c77da4c..3f899d832bf6 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -43,6 +43,10 @@ jobs: - name: Configure run: | + # Add cargo to our path quickly + . "$HOME/.cargo/env"; + # Add cargo to our path quickly + . "$HOME/.cargo/env"; mkdir -p gccrs-build; cd gccrs-build; ../configure \ @@ -124,6 +128,8 @@ jobs: - name: Configure run: | + # Add cargo to our path quickly + . "$HOME/.cargo/env"; mkdir -p gccrs-build; cd gccrs-build; ../configure \ @@ -268,6 +274,8 @@ jobs: - name: Configure run: | + # Add cargo to our path quickly + . "$HOME/.cargo/env"; mkdir -p gccrs-build; cd gccrs-build; ../configure \