Skip to content

build-systems: remove Makefile, autotools and Android.mk #15

build-systems: remove Makefile, autotools and Android.mk

build-systems: remove Makefile, autotools and Android.mk #15

Workflow file for this run

name: compile
on: [push, pull_request]
jobs:
stable:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:

Check failure on line 10 in .github/workflows/compile.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/compile.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
release:
- "ubuntu:20.04"
- "ubuntu:22.04"
- "ubuntu:24.04"
- "ubuntu:rolling""
- "debian:oldstable-slim"
- "debian:stable-slim"
- "debian:testing-slim"
- "debian:unstable-slim"
steps:
- uses: actions/checkout@v4
- name: Prepare ${{ matrix.release }} container
run: |
podman version
podman run --name stable -di --userns=keep-id:uid=1000,gid=1000 -v "$PWD":/home -w /home ${{ matrix.release }} bash
podman exec -i stable uname -a
podman exec -i stable id
echo 'APT::Install-Recommends "false";' | podman exec -i -u root stable tee "/etc/apt/apt.conf.d/local.conf"
podman exec -i -u root stable apt-get update
podman exec -e DEBIAN_FRONTEND='noninteractive' -i -u root stable apt-get install -qy gcc clang cmake make ninja-build
- name: Configure & Build with gcc
run: |
podman exec -i stable rm -rf build
podman exec -i stable cmake -DCMAKE_BUILD_TYPE=Debug -D CMAKE_C_COMPILER=gcc -B build
podman exec -i stable cmake --build build
- name: Configure & Build with clang
run: |
podman exec -i stable rm -rf build
podman exec -i stable cmake -DCMAKE_BUILD_TYPE=Debug -D CMAKE_C_COMPILER=clang -B build
podman exec -i stable cmake --build build
- name: Show logs
if: ${{ failure() }}
run: |
cat build/CMakeFiles/CMakeOutput.log