rename gha workflows #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: autotools cross-compile make ubuntu | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
host: [arm-linux-gnueabihf, aarch64-linux-gnu, powerpc-linux-gnu, arm-linux-gnueabi] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install packages | |
run: | | |
sudo apt update | |
sudo apt install gcc-${{ matrix.host }} g++-${{ matrix.host }} | |
- name: autoreconf | |
run: autoreconf -fi | |
- name: configure | |
run: ./configure --host=${{ matrix.host }} --enable-static --disable-shared --without-zlib || cat config.log | |
- name: make | |
run: make -j $(nproc) | |
- name: make check | |
run: make check -j $(nproc) |