mirror of
https://github.com/intel/isa-l.git
synced 2025-01-19 04:26:08 +01:00
ci: add drone.io for arm64 verification
Change-Id: Ib357be80e7e9d7c0ab62433ee5fda4b962592553 Signed-off-by: Jun He <jun.he@arm.com>
This commit is contained in:
parent
b721db98e5
commit
a95292aa01
133
.drone.yml
Normal file
133
.drone.yml
Normal file
@ -0,0 +1,133 @@
|
|||||||
|
kind: pipeline
|
||||||
|
name: arm64-linux-gcc-5.4
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: arm64-linux-gcc-5.4
|
||||||
|
image: ubuntu:xenial
|
||||||
|
environment:
|
||||||
|
C_COMPILER: gcc
|
||||||
|
commands:
|
||||||
|
- if [ -n "$C_COMPILER" ]; then export CC="$C_COMPILER"; fi
|
||||||
|
- if [ -n "$AS_ASSEMBL" ]; then export AS="$AS_ASSEMBL"; fi
|
||||||
|
- apt-get -qq update
|
||||||
|
- apt-get install -qq -y build-essential git indent libtool libz-dev yasm autoconf
|
||||||
|
- if [ -n "$CC" ]; then $CC --version; fi
|
||||||
|
- if [ -n "$AS" ]; then $AS --version; fi
|
||||||
|
- ./tools/test_autorun.sh "$TEST_TYPE"
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: arm64-linux-clang-3.8
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: arm64-linux-clang-3.8
|
||||||
|
image: ubuntu:xenial
|
||||||
|
environment:
|
||||||
|
C_COMPILER: clang
|
||||||
|
commands:
|
||||||
|
- if [ -n "$C_COMPILER" ]; then export CC="$C_COMPILER"; fi
|
||||||
|
- if [ -n "$AS_ASSEMBL" ]; then export AS="$AS_ASSEMBL"; fi
|
||||||
|
- apt-get -qq update
|
||||||
|
- apt-get install -qq -y build-essential clang git indent libtool libz-dev yasm autoconf
|
||||||
|
- if [ -n "$CC" ]; then $CC --version; fi
|
||||||
|
- if [ -n "$AS" ]; then $AS --version; fi
|
||||||
|
- ./tools/test_autorun.sh "$TEST_TYPE"
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: arm64-linux-clang-4.0
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: arm64-linux-clang-4.0
|
||||||
|
image: ubuntu:xenial
|
||||||
|
environment:
|
||||||
|
C_COMPILER: clang-4.0
|
||||||
|
commands:
|
||||||
|
- if [ -n "$C_COMPILER" ]; then export CC="$C_COMPILER"; fi
|
||||||
|
- if [ -n "$AS_ASSEMBL" ]; then export AS="$AS_ASSEMBL"; fi
|
||||||
|
- apt-get -qq update
|
||||||
|
- apt-get install -qq -y build-essential clang-4.0 git indent libtool libz-dev yasm autoconf
|
||||||
|
- if [ -n "$CC" ]; then $CC --version; fi
|
||||||
|
- if [ -n "$AS" ]; then $AS --version; fi
|
||||||
|
- ./tools/test_autorun.sh "$TEST_TYPE"
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: arm64-linux-gcc-4.7
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: arm64-linux-gcc-4.7
|
||||||
|
image: ubuntu:xenial
|
||||||
|
environment:
|
||||||
|
C_COMPILER: gcc-4.7
|
||||||
|
commands:
|
||||||
|
- if [ -n "$C_COMPILER" ]; then export CC="$C_COMPILER"; fi
|
||||||
|
- if [ -n "$AS_ASSEMBL" ]; then export AS="$AS_ASSEMBL"; fi
|
||||||
|
- apt-get -qq update
|
||||||
|
- apt-get install -qq -y build-essential git indent libtool libz-dev software-properties-common yasm autoconf
|
||||||
|
- add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||||
|
- apt-get -qq update
|
||||||
|
- apt-get install -qq -y g++-4.7
|
||||||
|
- if [ -n "$CC" ]; then $CC --version; fi
|
||||||
|
- if [ -n "$AS" ]; then $AS --version; fi
|
||||||
|
- ./tools/test_autorun.sh "$TEST_TYPE"
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: arm64-linux-gcc-6
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: arm64-linux-gcc-6
|
||||||
|
image: debian:9
|
||||||
|
environment:
|
||||||
|
C_COMPILER: gcc
|
||||||
|
commands:
|
||||||
|
- if [ -n "$C_COMPILER" ]; then export CC="$C_COMPILER"; fi
|
||||||
|
- if [ -n "$AS_ASSEMBL" ]; then export AS="$AS_ASSEMBL"; fi
|
||||||
|
- apt-get -q update
|
||||||
|
- apt-get install -y build-essential git indent libtool libz-dev software-properties-common yasm autoconf
|
||||||
|
- if [ -n "$CC" ]; then $CC --version; fi
|
||||||
|
- if [ -n "$AS" ]; then $AS --version; fi
|
||||||
|
- ./tools/test_autorun.sh "$TEST_TYPE"
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: arm64-linux-extended-tests
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: arm64-linux-extended-tests
|
||||||
|
image: ubuntu:xenial
|
||||||
|
environment:
|
||||||
|
TEST_TYPE: ext
|
||||||
|
commands:
|
||||||
|
- if [ -n "$C_COMPILER" ]; then export CC="$C_COMPILER"; fi
|
||||||
|
- if [ -n "$AS_ASSEMBL" ]; then export AS="$AS_ASSEMBL"; fi
|
||||||
|
- apt-get -qq update
|
||||||
|
- apt-get install -qq -y build-essential git indent libtool libz-dev software-properties-common yasm autoconf
|
||||||
|
- if [ -n "$CC" ]; then $CC --version; fi
|
||||||
|
- if [ -n "$AS" ]; then $AS --version; fi
|
||||||
|
- ./tools/test_autorun.sh "$TEST_TYPE"
|
@ -181,7 +181,7 @@ $MAKE -f Makefile.unx arch=noarch clean
|
|||||||
msg+=$'Noarch build: Pass\n'
|
msg+=$'Noarch build: Pass\n'
|
||||||
|
|
||||||
# Try mingw build
|
# Try mingw build
|
||||||
if command -V x86_64-w64-mingw32-gcc >/dev/null 2>&1; then
|
if [ $(uname -m) == "x86_64" ] && [ command -V x86_64-w64-mingw32-gcc >/dev/null 2>&1 ]; then
|
||||||
test_start "mingw_build"
|
test_start "mingw_build"
|
||||||
time $MAKE -f Makefile.unx -j $cpus arch=mingw
|
time $MAKE -f Makefile.unx -j $cpus arch=mingw
|
||||||
test_end "mingw_build" $?
|
test_end "mingw_build" $?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user