Skip to content

Commit

Permalink
test: nr
Browse files Browse the repository at this point in the history
  • Loading branch information
xilosada committed Jun 10, 2024
1 parent 728639a commit 57791c4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/desktop_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
- name: Install target for ${{ matrix.target }}
run: rustup target add ${{ matrix.target }}


- name: Install cross-compilation tools for Linux
if: matrix.target == 'aarch64-unknown-linux-gnu'
run: |
Expand All @@ -42,6 +41,8 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y mingw-w64
sudo apt-get install -y wine
curl -L https://github.com/messense/xwin/releases/download/v0.1.8/xwin-v0.1.8-x86_64-unknown-linux-gnu.tar.gz | sudo tar -xzf - -C /usr/local
- name: Cache cargo registry
uses: actions/cache@v3
Expand All @@ -60,6 +61,9 @@ jobs:
restore-keys: ${{ runner.os }}-cargo-build-

- name: Build the crate
env:
CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_LINKER: x86_64-w64-mingw32-gcc
CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_RUNNER: wine
run: cargo build -p calimero-node --release --target ${{ matrix.target }}

- name: Upload binary
Expand Down

0 comments on commit 57791c4

Please sign in to comment.