fix: multiple connection estability fixes #43
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Cross-Compile | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
build-x86_64: | |
name: Build for x86_64-unknown-linux-gnu | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install cross | |
run: cargo install cross | |
- name: Compile for x86_64-unknown-linux-gnu | |
run: cargo build --release | |
- name: Upload freenet binary | |
uses: actions/upload-artifact@v4 | |
with: | |
name: binaries-x86_64-freenet | |
path: target/release/freenet | |
- name: Upload fdev binary | |
uses: actions/upload-artifact@v4 | |
with: | |
name: binaries-x86_64-fdev | |
path: target/release/fdev | |
build-arm64: | |
name: Build for aarch64-unknown-linux-gnu | |
runs-on: ubuntu-24.04-arm | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Compile for aarch64-unknown-linux-gnu | |
run: cargo build --release | |
- name: Upload freenet binary | |
uses: actions/upload-artifact@v4 | |
with: | |
name: binaries-arm64-freenet | |
path: target/release/freenet | |
- name: Upload fdev binary | |
uses: actions/upload-artifact@v4 | |
with: | |
name: binaries-arm64-fdev | |
path: target/release/fdev |