Skip to content

Merge pull request #242 from fichtner/unused_var #160

Merge pull request #242 from fichtner/unused_var

Merge pull request #242 from fichtner/unused_var #160

Workflow file for this run

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@v4
- 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@v4
- 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@v4
- 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: Install dependencies required by the checkout action
run: |
zypper --non-interactive refresh
zypper --non-interactive install gzip tar
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
env:
CC: ${{ matrix.compiler }}
run: |
test/test_build.sh opensuse
ubuntu:
strategy:
matrix:
ubuntu_version: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
compiler: [clang, gcc]
runs-on: ${{ matrix.ubuntu_version }}
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
env:
CC: ${{ matrix.compiler }}
run: |
test/test_build.sh ubuntu