Skip to content

Commit

Permalink
Updating the Github Workflows to use setup-node actions to use an old…
Browse files Browse the repository at this point in the history
…er version of NodeJS
  • Loading branch information
keenon committed Jan 10, 2025
1 parent d502bdb commit fc67d0d
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build_aarch64_linux_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
sudo apt-get update -q -y
sudo apt-get -qq install -y qemu qemu-user-static
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes --credential yes
- name: Set up Node Version 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Check out the repo
uses: actions/checkout@v2
- name: Set variables
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ jobs:
sudo apt-get update -q -y
sudo apt-get -qq install -y qemu qemu-user-static
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes --credential yes
- name: Set up Node Version 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Check out the repo
uses: actions/checkout@v2
- name: Set variables
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build_x86_linux_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
PYTHON_INCLUDE: /opt/python/cp311-cp311/include/python3.11/
PYTHON_LIB: /opt/python/cp311-cp311/lib/python3.11
steps:
- name: Set up Node Version 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Check out the repo
uses: actions/checkout@v2
- name: Set variables
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
steps:
- name: Set up Node Version 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Check out the repo
uses: actions/checkout@v2
- name: Build
Expand Down
16 changes: 8 additions & 8 deletions ci/manylinux/base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/pypa/manylinux2014_x86_64
FROM quay.io/pypa/manylinux_2_34_x86_64
MAINTAINER keenonwerling@gmail.com
# TAG keenon/diffdart:base

Expand All @@ -23,7 +23,7 @@ RUN rm cmake-3.19.0.tar.gz
# RUN yum install epel-release && \
# rpm -ivh http://repo.okay.com.mx/centos/7/x86_64/release/okay-release-1-3.el6.noarch.rpm? && \
# yum install -y boost-devel-1.55.0-25.el6.x86_64
RUN yum install -y boost-devel-1.53.0-28.el7.x86_64
RUN yum install -y boost-devel

# Install Eigen
RUN curl https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.tar.gz > eigen.tar.gz && \
Expand Down Expand Up @@ -102,11 +102,11 @@ RUN git clone https://github.com/flexible-collision-library/fcl.git && \
# Install octomap
RUN git clone https://github.com/OctoMap/octomap.git && \
pushd octomap && \
git checkout v1.8.1 && \
git checkout v1.10.0 && \
mkdir build && \
pushd build && \
cmake .. -DCMAKE_POSITION_INDEPENDENT_CODE=ON && \
make install -j10 && \
make install && \
popd && \
popd && \
rm -rf octomap
Expand Down Expand Up @@ -211,7 +211,7 @@ RUN git clone https://github.com/PlatformLab/PerfUtils.git && \
popd && \
rm -rf PerfUtils

ENV PROTOBUF_VERSION="3.14.0"
ENV PROTOBUF_VERSION="29.2"

# RUN wget https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOBUF_VERSION}/protobuf-all-${PROTOBUF_VERSION}.tar.gz && \
# tar -xvzf protobuf-all-${PROTOBUF_VERSION}.tar.gz && \
Expand All @@ -224,10 +224,10 @@ ENV PROTOBUF_VERSION="3.14.0"
# popd && \
# rm -rf protobuf-${PROTOBUF_VERSION}

RUN git clone --recurse-submodules -b v1.33.2 https://github.com/grpc/grpc
RUN git clone --recurse-submodules -b v1.69.0 https://github.com/grpc/grpc
RUN pushd grpc && \
# This fixes the boringssl build on the ancient CentOS we have to use by adding "rt" as an explicit dependency
sed -i '642s/.*/target_link_libraries(bssl ssl crypto rt)/' third_party/boringssl-with-bazel/CMakeLists.txt && \
# sed -i '642s/.*/target_link_libraries(bssl ssl crypto rt)/' third_party/boringssl-with-bazel/CMakeLists.txt && \
pushd third_party/protobuf && \
git checkout v${PROTOBUF_VERSION} && \
popd && \
Expand Down Expand Up @@ -313,4 +313,4 @@ RUN rm -rf ezc3d
# RUN rm -rf /usr/local/lib64/libassimp.so
# RUN rm -rf /usr/local/lib64/libassimp.5.so
# RUN rm -rf /usr/local/lib64/libassimp.5.0.1.so
RUN protoc --version
RUN protoc --version
3 changes: 3 additions & 0 deletions ci/manylinux/base/rebuild.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

docker build -t keenon/diffdart:base --platform linux/amd64 .

0 comments on commit fc67d0d

Please sign in to comment.