Skip to content

Commit

Permalink
Build Linux native code using manylinux2010 environment
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-allan committed Dec 16, 2020
1 parent b8f60ef commit c53a921
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,13 @@ jobs:
- name: Install SWIG
run: sudo apt-get install -y swig

- name: Run SWIG
run: make swig

- name: Build native code
run: make clean swig all
run: |
docker build -f Dockerfile2010 . -t native_builder
docker run -v $(pwd):/jxrlib --user ${UID} -t native_builder make -C /jxrlib
- name: Run tests
run: |
Expand Down
6 changes: 6 additions & 0 deletions Dockerfile2010
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Dockerfile for lowest common denominator Linux native artifact build
# --------------------------------------------------------------------
# Cribbed from TileDB-Java/ci/Dockerfile2010
FROM quay.io/pypa/manylinux2010_x86_64

RUN yum install -y java-1.8.0-openjdk-devel

0 comments on commit c53a921

Please sign in to comment.