Skip to content

Commit

Permalink
CI: MIPS64
Browse files Browse the repository at this point in the history
Signed-off-by: Jiaxun Yang <[email protected]>
  • Loading branch information
FlyGoat committed Jan 26, 2020
1 parent 4b42ac2 commit f0162fc
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,37 @@ matrix:
- mkdir jdk8 && tar xf jdk8.tar.gz -C jdk8 --strip-components 1
- JAVA_HOME=$TRAVIS_BUILD_DIR/jdk8 ant compile-templates upload-native -Dgcc.version=4.8 -Dgcc.libpath.opengl=/usr/lib/aarch64-linux-gnu/mesa

# -----------------
- name: "Linux mips64"
# -----------------
dist: xenial
language: java
jdk: openjdk8

addons:
apt:
packages:
- ant
- gcc-5-mips64el-linux-gnuabi64
- g++-5-mips64el-linux-gnuabi64
- libc6-dev-mips64el-cross

before_install:
- pip install --user awscli
- export PATH=$PATH:$HOME/.local/bin
- sudo rm -rf /etc/apt/sources.list
- sudo sh -c "echo 'deb http://deb.debian.org/debian stretch main' >> /etc/apt/sources.list"
- sudo dpkg --add-architecture mips64el
- sudo apt-get update || true
- sudo apt-get -yq --allow-unauthenticated install libglu-dev:mips64el libgl1-mesa-glx:mips64el libx11-dev:mips64el libdrm2:mips64el libglapi-mesa:mips64el libgl1-mesa-dev:mips64el libgl-dev:mips64el -o Dpkg::Options::="--force-overwrite"

script:
- export LWJGL_BUILD_TYPE=nightly
- export LWJGL_BUILD_ARCH=mips64
- curl $JDK_LINUX --output jdk8.tar.gz
- mkdir jdk8 && tar xf jdk8.tar.gz -C jdk8 --strip-components 1
- JAVA_HOME=$TRAVIS_BUILD_DIR/jdk8 ant compile-templates upload-native -Dgcc.version=5 -Dgcc.libpath.opengl=/usr/lib/mips64el-linux-gnuabi64//mesa

# -----------------
- name: "macOS"
# -----------------
Expand Down

0 comments on commit f0162fc

Please sign in to comment.