update badges, further split out actions by OS, add more Linux targets

This commit is contained in:
Brent Cook 2021-05-28 04:53:27 -05:00
parent c8911ede68
commit e55410dc80
7 changed files with 55 additions and 45 deletions

View File

@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Run CI script
run: ./scripts/travis
run: ./scripts/test
build-android-10-11:
runs-on: ubuntu-18.04
@ -27,4 +27,4 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Run CI script
run: ./scripts/travis
run: ./scripts/test

20
.github/workflows/cross_test.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: cross_ci
on: [push, pull_request]
jobs:
build-other:
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
arch: [mingw32, mingw64, arm32, arm64]
runs-on: ${{ matrix.os }}
continue-on-error: true
env:
CC: gcc
ARCH: ${{ matrix.arch }}
name: ${{ matrix.arch }}
steps:
- uses: actions/checkout@v2
- name: Run CI script
run: ./scripts/test

View File

@ -6,7 +6,7 @@ jobs:
build-native:
strategy:
matrix:
os: [macos-latest, ubuntu-18.04]
os: [ubuntu-18.04, ubuntu-20.04]
compiler: [clang, gcc]
runs-on: ${{ matrix.os }}
continue-on-error: false
@ -15,24 +15,6 @@ jobs:
ARCH: native
name: ${{ matrix.compiler }} - ${{ matrix.os }}
steps:
- name: Install packages for macos
if: matrix.os == 'macos-latest'
run: brew install automake
- uses: actions/checkout@v2
- name: Run CI script
run: ./scripts/travis
build-other:
strategy:
matrix:
arch: [mingw32, mingw64, arm32, arm64]
runs-on: ubuntu-18.04
continue-on-error: true
env:
CC: gcc
ARCH: ${{ matrix.arch }}
name: ${{ matrix.arch }}
steps:
- uses: actions/checkout@v2
- name: Run CI script
run: ./scripts/travis
run: ./scripts/test

22
.github/workflows/macos_test.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: macos_ci
on: [push, pull_request]
jobs:
build-native:
strategy:
matrix:
os: [macos-latest]
compiler: [clang, gcc]
runs-on: ${{ matrix.os }}
continue-on-error: false
env:
CC: ${{ matrix.compiler }}
ARCH: native
name: ${{ matrix.compiler }} - ${{ matrix.os }}
steps:
- name: Install packages for macos
run: brew install automake
- uses: actions/checkout@v2
- name: Run CI script
run: ./scripts/test

View File

@ -1,7 +1,11 @@
![LibreSSL image](https://www.libressl.org/images/libressl.jpg)
## Official portable version of [LibreSSL](https://www.libressl.org) ##
[![Build Status](https://travis-ci.org/libressl-portable/portable.svg?branch=master)](https://travis-ci.org/libressl-portable/portable) [![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/libressl.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:libressl)
[![Linux Build Status](https://github.com/libressl-portable/portable/actions/workflows/linux_test.yml/badge.svg)](https://github.com/libressl-portable/portable/actions/workflows/linux_test.yml)
[![macOS Build Status](https://github.com/libressl-portable/portable/actions/workflows/macos_test.yml/badge.svg)](https://github.com/libressl-portable/portable/actions/workflows/macos_test.yml)
[![Android_Build Status](https://github.com/libressl-portable/portable/actions/workflows/android_test.yml/badge.svg)](https://github.com/libressl-portable/portable/actions/workflows/android_test.yml)
[![Cross_Build Status](https://github.com/libressl-portable/portable/actions/workflows/cross_test.yml/badge.svg)](https://github.com/libressl-portable/portable/actions/workflows/cross_test.yml)
[![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/libressl.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:libressl)
LibreSSL is a fork of [OpenSSL](https://www.openssl.org) 1.0.1g developed by the
[OpenBSD](https://www.openbsd.org) project. Our goal is to modernize the codebase,

View File

@ -81,14 +81,14 @@ elif [ "x$ARCH" = "xarm32" -o "x$ARCH" = "xarm64" ]; then
if [ "x$ARCH" = "xarm32" ]; then
sudo apt-get install -y g++-arm-linux-gnueabihf
sudo ln -s /usr/arm-linux-gnueabihf/lib /lib/arm-linux-gnueabihf
sudo ln -s /lib/arm-linux-gnueabihf/ld-2.27.so /lib/ld-linux-armhf.so.3
sudo ln -s /usr/arm-linux-gnueabihf/lib/ld-*.*.so /lib/ld-linux-armhf.so.3
export LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib
export CC=arm-linux-gnueabihf-gcc
./configure --host=arm-linux
else
sudo apt-get install -y g++-aarch64-linux-gnu
sudo ln -s /usr/aarch64-linux-gnu/lib/ /lib/aarch64-linux-gnu
sudo ln -s /lib/aarch64-linux-gnu/ld-2.27.so /lib/ld-linux-aarch64.so.1
sudo ln -s /usr/aarch64-linux-gnu/lib/ld-*.*.so /lib/ld-linux-aarch64.so.1
export LD_LIBRARY_PATH=/usr/aarch64-linux-gnu/lib
export CC=aarch64-linux-gnu-gcc
./configure --host=aarch64-linux
fi

View File

@ -1,18 +0,0 @@
#!/bin/sh
CWD=`pwd`
testsdir=`ls -d libressl-*/_build/sub/tests`
if [ -d "$testsdir" ] ; then
echo "##### test logs in $testsdir"
cd $testsdir
for i in `ls *.trs` ; do
grep ':test-result: PASS' $i > /dev/null
if [ $? -eq 1 ] ; then
log=`echo $i | sed 's/\.trs$/\.log/'`
echo "***** $log"
cat $log
fi
done
cd $CWD
fi