Skip to content

Commit

Permalink
update fluvio future dep (#4096)
Browse files Browse the repository at this point in the history
* chore: update fluvio future crate

* chore: update fluvio-future dep

* use anyhow

* pass through anyhow errors

* pass through anyhow errors

* use zig for arm

* install bindgen-cli for arm

* fix build-cluster

* tmate debug

* tmate debug

* tmate debug

* install gcc-multilib

* install gcc-multilib

* debug

* use ubuntu-24.04

* use bindgen-cli

* revert debug
  • Loading branch information
nacardin authored Jul 18, 2024
1 parent a9cd127 commit 12a9de2
Show file tree
Hide file tree
Showing 82 changed files with 2,059 additions and 1,864 deletions.
36 changes: 21 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ env:
K3D_VERSION: v5.4.9
BATS_VERSION: 1.9.0
MINIKUBE_VERSION: v1.30.1
LLVM_VERSION: 14.0.0 # stick with 14 for now since Github action is default to clang-14
K8_VERSION: v1.26.3
TLS_ARGS: --tls --domain fluvio.local --server-key ./tls/certs/server.key --server-cert ./tls/certs/server.crt --ca-cert ./tls/certs/ca.crt --client-cert ./tls/certs/client-root.crt --client-key ./tls/certs/client-root.key
AUTH_FILE: crates/fluvio-sc/test-data/auth_config/policy.json
Expand Down Expand Up @@ -82,10 +81,6 @@ jobs:
uses: dtolnay/rust-toolchain@stable
- name: install rust target
run: rustup target add ${{ matrix.rust-target }}
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "${{ env.LLVM_VERSION }}"
- name: Install zig
run: ./actions/zig-install.sh
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -153,7 +148,7 @@ jobs:
- os: ubuntu-latest
rust-target: armv7-unknown-linux-gnueabihf
binary: fluvio-run
- os: ubuntu-latest
- os: ubuntu-24.04
rust-target: x86_64-pc-windows-gnu
binary: fluvio.exe
- os: macos-12
Expand All @@ -178,7 +173,7 @@ jobs:
- os: ubuntu-latest
rust-target: armv7-unknown-linux-gnueabihf
binary: fluvio-channel
- os: ubuntu-latest
- os: ubuntu-24.04
rust: stable
rust-target: x86_64-pc-windows-gnu
binary: fluvio-channel.exe
Expand Down Expand Up @@ -212,7 +207,7 @@ jobs:
- os: ubuntu-latest
rust-target: armv7-unknown-linux-gnueabihf
binary: fbm
- os: ubuntu-latest
- os: ubuntu-24.04
rust-target: x86_64-pc-windows-gnu
binary: fbm.exe
- os: macos-12
Expand All @@ -229,7 +224,7 @@ jobs:
- os: ubuntu-latest
rust-target: armv7-unknown-linux-gnueabihf
binary: fvm
- os: ubuntu-latest
- os: ubuntu-24.04
rust-target: x86_64-pc-windows-gnu
binary: fvm.exe
- os: macos-12
Expand Down Expand Up @@ -266,6 +261,12 @@ jobs:
run: rustup target add ${{ matrix.rust-target }}
- name: Install zig
run: ./actions/zig-install.sh ${{ matrix.os }}
- name: Install gcc-multilib
run: sudo apt-get install gcc-multilib
if: matrix.rust-target == 'arm-unknown-linux-gnueabihf' || matrix.rust-target == 'armv7-unknown-linux-gnueabihf'
- name: Install NASM
if: matrix.rust-target == 'x86_64-pc-windows-gnu'
uses: ilammy/setup-nasm@v1
- uses: Swatinem/rust-cache@v2
timeout-minutes: 10
with:
Expand All @@ -274,17 +275,21 @@ jobs:
run: brew install helm
if: matrix.binary == 'fluvio' && matrix.os == 'macos-12'

- name: Build fluvio
timeout-minutes: 40
if: matrix.binary == 'fluvio'
run: make build-cli

- name: Install mingw gcc
if: matrix.rust-target == 'x86_64-pc-windows-gnu'
run: |
sudo apt-get update -o="APT::Acquire::Retries=3"
sudo apt-get install -y -V -o="APT::Acquire::Retries=3" gcc-mingw-w64-x86-64
- name: Install bindgen-cli
if: matrix.rust-target == 'x86_64-pc-windows-gnu'
run: cargo install --force --locked bindgen-cli

- name: Build fluvio
timeout-minutes: 40
if: matrix.binary == 'fluvio'
run: make build-cli

- name: Build fluvio.exe
timeout-minutes: 40
if: matrix.binary == 'fluvio.exe'
Expand Down Expand Up @@ -549,6 +554,8 @@ jobs:
- uses: actions/checkout@v4
- name: Install Rust Stable
uses: dtolnay/rust-toolchain@stable
- name: Install NASM
uses: ilammy/setup-nasm@v1
- name: Rust version
run: rustc --version
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -1624,4 +1631,3 @@ jobs:
with:
event-type: ci-success
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

Loading

0 comments on commit 12a9de2

Please sign in to comment.