From 8488169c8646c544db91b08453a99bba268ba768 Mon Sep 17 00:00:00 2001 From: Filip Bozic <70634661+fbozic@users.noreply.github.com> Date: Wed, 19 Jun 2024 09:50:38 +0200 Subject: [PATCH] ci: install cross before doing cross compilation build, fix typo --- .github/workflows/check.yml | 2 +- .github/workflows/release-chat-example.yml | 3 +++ .github/workflows/release-dcutr-example.yml | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 1fbf719..6b911a1 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -17,5 +17,5 @@ jobs: - name: Setup rust cache uses: Swatinem/rust-cache@v2 - - name: Install cross + - name: Run cargo check run: cargo check --release diff --git a/.github/workflows/release-chat-example.yml b/.github/workflows/release-chat-example.yml index dc6ecde..d8ba0ee 100644 --- a/.github/workflows/release-chat-example.yml +++ b/.github/workflows/release-chat-example.yml @@ -48,6 +48,9 @@ jobs: - name: Setup rust cache uses: Swatinem/rust-cache@v2 + - name: Install cross + run: cargo install cross --version 0.2.5 + - name: Build for Intel Linux run: cargo build -p chat-example --release --target=x86_64-unknown-linux-gnu diff --git a/.github/workflows/release-dcutr-example.yml b/.github/workflows/release-dcutr-example.yml index b6b5388..dabd48f 100644 --- a/.github/workflows/release-dcutr-example.yml +++ b/.github/workflows/release-dcutr-example.yml @@ -48,6 +48,9 @@ jobs: - name: Setup rust cache uses: Swatinem/rust-cache@v2 + - name: Install cross + run: cargo install cross --version 0.2.5 + - name: Build for Intel Linux run: cargo build -p dcutr-example --release --target=x86_64-unknown-linux-gnu