Skip to content

Prep for librtas-2.0.6 #72

Prep for librtas-2.0.6

Prep for librtas-2.0.6 #72

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
qemu-ppc64le-builds:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
image:
- docker.io/fedora:rawhide
- docker.io/fedora:latest
- docker.io/alpine:latest
cc: [gcc, clang]
arch: [ppc64le]
include:
- image: docker.io/alpine:latest
arg: --no-abi-check
steps:
- uses: actions/checkout@v3
- name: Register problem matchers
run: |
echo "::add-matcher::.github/problem-matchers/compiler-source.json"
- name: Install tools
run: |
sudo apt-get update -qy
sudo apt-get install -y qemu-user-static
- name: Build and test
run: |
set -eux
tools/build-with --distro=${{ matrix.image }} --cc=${{ matrix.cc }} --emulate=${{ matrix.arch }} ${{ matrix.arg }} --no-distcheck
native-builds:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
image:
- docker.io/fedora:rawhide
- docker.io/fedora:latest
cc: [gcc, clang]
cflags:
- '-Werror'
- '-Werror -Og -fsanitize=address -fsanitize=undefined'
steps:
- uses: actions/checkout@v3
- name: Register problem matchers
run: |
echo "::add-matcher::.github/problem-matchers/compiler-source.json"
- name: Build and test
run: |
set -eux
tools/build-with --distro=${{ matrix.image }} --cc=${{ matrix.cc }} --cflags='${{ matrix.cflags }}' --install libasan --install libubsan --install compiler-rt
cross-builds:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
build:
- name: ppc64le
cc_cmd: powerpc64le-linux-gnu-gcc
cc_pkg: gcc-powerpc64le-linux-gnu
libc_pkg: libc6-dev-ppc64el-cross
- name: ppc64
cc_cmd: powerpc64-linux-gnu-gcc
cc_pkg: gcc-powerpc64-linux-gnu
libc_pkg: libc6-dev-ppc64-cross
- name: ppc32
cc_cmd: powerpc-linux-gnu-gcc
cc_pkg: gcc-powerpc-linux-gnu
libc_pkg: libc6-dev-powerpc-cross
image:
- docker.io/debian:unstable
- docker.io/debian:testing
- docker.io/debian:stable
steps:
- uses: actions/checkout@v3
- name: Register problem matchers
run: |
echo "::add-matcher::.github/problem-matchers/compiler-source.json"
- name: Build and test
run: |
set -eux
tools/build-with --distro=${{ matrix.image }} --cc=${{ matrix.build.cc_cmd }} --install ${{ matrix.build.cc_pkg }} --install ${{ matrix.build.libc_pkg }} --no-tests