| @@ -127,26 +127,26 @@ jobs: | |||
| - name: "C++ Dataflow example" | |||
| timeout-minutes: 15 | |||
| run: cargo run --example cxx-dataflow | |||
| - name: "Install Arrow C++ Library" | |||
| timeout-minutes: 10 | |||
| shell: bash | |||
| run: | | |||
| if [ "$RUNNER_OS" == "Linux" ]; then | |||
| # For Ubuntu | |||
| sudo apt-get update | |||
| sudo apt-get install -y -V ca-certificates lsb-release wget | |||
| wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb | |||
| sudo apt-get install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb | |||
| sudo apt-get update | |||
| sudo apt-get install -y -V libarrow-dev libarrow-glib-dev | |||
| elif [ "$RUNNER_OS" == "macOS" ]; then | |||
| # For macOS | |||
| brew update | |||
| brew install apache-arrow | |||
| fi | |||
| - name: "Install Arrow C++ Library" | |||
| timeout-minutes: 10 | |||
| shell: bash | |||
| run: | | |||
| if [ "$RUNNER_OS" == "Linux" ]; then | |||
| # For Ubuntu | |||
| sudo apt-get update | |||
| sudo apt-get install -y -V ca-certificates lsb-release wget | |||
| wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb | |||
| sudo apt-get install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb | |||
| sudo apt-get update | |||
| sudo apt-get install -y -V libarrow-dev libarrow-glib-dev | |||
| elif [ "$RUNNER_OS" == "macOS" ]; then | |||
| # For macOS | |||
| brew update | |||
| brew install apache-arrow | |||
| fi | |||
| - name: "C++ Dataflow2 example" | |||
| timeout-minutes: 15 | |||
| run : cargo run --example cxx-dataflow2 | |||
| run: cargo run --example cxx-dataflow2 | |||
| - name: "Cmake example" | |||
| if: runner.os == 'Linux' | |||
| timeout-minutes: 30 | |||
| @@ -386,7 +386,7 @@ jobs: | |||
| dora destroy | |||
| # Run Python queue latency test | |||
| # Run Python queue latency test | |||
| echo "Running CI Queue Latency Test" | |||
| dora run tests/queue_size_latest_data_python/dataflow.yaml --uv | |||
| @@ -394,7 +394,7 @@ jobs: | |||
| echo "Running CI Queue + Timeout Test" | |||
| dora run tests/queue_size_and_timeout_python/dataflow.yaml --uv | |||
| # Run Rust queue latency test | |||
| # Run Rust queue latency test | |||
| echo "Running CI Queue Size Latest Data Rust Test" | |||
| dora build tests/queue_size_latest_data_rust/dataflow.yaml --uv | |||
| dora run tests/queue_size_latest_data_rust/dataflow.yaml --uv | |||