Merge pull request #189 from initramfs/auto-ignore-prefixes #112
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: Linux | |
on: [push, pull_request] | |
jobs: | |
alpine: | |
strategy: | |
matrix: | |
compiler: [clang, gcc] | |
runs-on: ubuntu-latest | |
container: alpine:latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Build | |
env: | |
CC: ${{ matrix.compiler }} | |
run: | | |
test/test_build.sh alpine | |
debian: | |
strategy: | |
matrix: | |
compiler: [clang, gcc] | |
runs-on: ubuntu-latest | |
container: debian:stable | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Build | |
env: | |
CC: ${{ matrix.compiler }} | |
run: | | |
test/test_build.sh debian | |
fedora: | |
strategy: | |
matrix: | |
compiler: [clang, gcc] | |
runs-on: ubuntu-latest | |
container: fedora:latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Build | |
env: | |
CC: ${{ matrix.compiler }} | |
run: | | |
test/test_build.sh fedora | |
opensuse: | |
strategy: | |
matrix: | |
compiler: [clang, gcc] | |
runs-on: ubuntu-latest | |
container: opensuse/leap:latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v1 # Action checkout@v2 triggers an error about non existing "tar" command | |
- name: Build | |
env: | |
CC: ${{ matrix.compiler }} | |
run: | | |
test/test_build.sh opensuse | |
ubuntu: | |
strategy: | |
matrix: | |
ubuntu_version: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04] | |
compiler: [clang, gcc] | |
runs-on: ${{ matrix.ubuntu_version }} | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Build | |
env: | |
CC: ${{ matrix.compiler }} | |
run: | | |
test/test_build.sh ubuntu |