Skip to content

Bump pyarrow from 0.13.0 to 14.0.1 in /hardware/arrays/test/arrayreader #170

Bump pyarrow from 0.13.0 to 14.0.1 in /hardware/arrays/test/arrayreader

Bump pyarrow from 0.13.0 to 14.0.1 in /hardware/arrays/test/arrayreader #170

Workflow file for this run

name: Test
on:
push:
branches:
- develop
- staging
- trying
pull_request:
env:
ARROW_VERSION: "7.0.0"
jobs:
cpp:
name: "C++"
strategy:
fail-fast: false
matrix:
source:
- codegen/cpp/fletchgen
- runtime/cpp
- platforms/echo/runtime
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Apache Arrow
run: |
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 ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
sudo apt-get update
sudo apt-get install -y libarrow-dev=$ARROW_VERSION-1
- name: Configure
run: |
cmake ${{ matrix.source }} -DBUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug
- name: Build
run: |
make -j
- name: Test
run: |
make test
python:
name: Python
strategy:
fail-fast: false
matrix:
source:
- runtime/python
- codegen/python
include:
- source: runtime/python
package: pyfletcher
- source: codegen/python
package: pyfletchgen
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Apache Arrow
run: |
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 ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
sudo apt-get update
sudo apt-get install -y libarrow-dev=$ARROW_VERSION-1 libarrow-python-dev=$ARROW_VERSION-1
- uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install pyarrow
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install pyarrow==$ARROW_VERSION
- name: Build and install
working-directory: ${{ matrix.source }}
run: |
python setup.py build
python setup.py bdist_wheel
python -m pip install build/dist/*.whl
- name: Import
run: python -c "import ${{ matrix.package }}"
vhdl:
name: VHDL
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: ghdl/setup-ghdl-ci@master
with:
backend: llvm
- uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install vhdeps
- name: vhdeps
run: vhdeps -i hardware ghdl -- --pattern '*_tc' --pattern ':!*/vhlib/*'