diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2024-05-21 01:29:20 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2024-05-21 01:29:20 +0200 |
commit | b54b8f5b25403cf3b9623804b2491ec78a8b913e (patch) | |
tree | 8100b69a2fd1e37d1eb400a33c92ec3c984f208b /.github/workflows/yatr.yaml | |
parent | 0bbc18869720ad042b668742ca48e5cb8a37491a (diff) | |
download | blogc-b54b8f5b25403cf3b9623804b2491ec78a8b913e.tar.gz blogc-b54b8f5b25403cf3b9623804b2491ec78a8b913e.tar.bz2 blogc-b54b8f5b25403cf3b9623804b2491ec78a8b913e.zip |
build: replace autotools with cmake
this patch removes all the autoconf/automake/libtool build
infrastructure and replaces it with cmake.
notable default behavior changes:
- man pages are not pre-built, and are not built by default, must be
enabled with `-DBUILD_MANPAGES=ON`.
removed features:
- srpm packaging, to be reintroduced at some point.
- deb packaging, now handled externally via rafaelmartins/deb.rgm.io
more stuff must be missing, please report bugs!
Diffstat (limited to '.github/workflows/yatr.yaml')
-rw-r--r-- | .github/workflows/yatr.yaml | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/.github/workflows/yatr.yaml b/.github/workflows/yatr.yaml deleted file mode 100644 index 897c41e..0000000 --- a/.github/workflows/yatr.yaml +++ /dev/null @@ -1,100 +0,0 @@ -name: yatr -on: - - push - -jobs: - yatr: - runs-on: "${{ matrix.image }}" - - strategy: - fail-fast: false - matrix: - target: - - distcheck - - valgrind - - check-make-embedded - compiler: - - gcc - - clang - image: - - ubuntu-20.04 - include: - - target: distcheck - compiler: clang - image: macos-10.15 - - target: clang-analyzer - compiler: clang - image: ubuntu-20.04 - - target: dist-srpm - compiler: gcc - image: ubuntu-20.04 - - target: deb-bullseye-amd64 - compiler: gcc - image: ubuntu-22.04 - - target: deb-bookworm-amd64 - compiler: gcc - image: ubuntu-22.04 - - target: deb-sid-amd64 - compiler: gcc - image: ubuntu-22.04 - - target: deb-focal-amd64 - compiler: gcc - image: ubuntu-22.04 - - target: deb-jammy-amd64 - compiler: gcc - image: ubuntu-22.04 - - target: deb-kinetic-amd64 - compiler: gcc - image: ubuntu-22.04 - - target: static - compiler: gcc - image: ubuntu-20.04 - - target: static-all - compiler: gcc - image: ubuntu-20.04 - - target: win32 - compiler: gcc - image: ubuntu-20.04 - - target: win64 - compiler: gcc - image: ubuntu-20.04 - - steps: - - name: Check out code - uses: actions/checkout@v2 - - - name: Install dependencies - run: | - if [[ "x${{ matrix.image }}" = xubuntu-* ]]; then - sudo gem install ronn - sudo apt-get update -y - if [[ "x${{ matrix.target }}" = *check* ]] || [[ "x${{ matrix.target }}" = xvalgrind ]] || [[ "x${{ matrix.target }}" = xdeb-* ]]; then - sudo apt-get install -y libcmocka-dev - fi - if [[ "x${{ matrix.target }}" = xvalgrind ]]; then - sudo apt-get install -y valgrind - fi - if [[ "x${{ matrix.target }}" = xclang-analyzer ]]; then - sudo apt-get install -y clang-tools - fi - if [[ "x${{ matrix.target }}" = xwin32 ]]; then - sudo apt-get install -y gcc-mingw-w64-i686 - fi - if [[ "x${{ matrix.target }}" = xwin64 ]]; then - sudo apt-get install -y gcc-mingw-w64-x86-64 - fi - if [[ "x${{ matrix.target }}" = xdeb-* ]]; then - sudo apt-get install -y cowbuilder debhelper pbuilder reprepro - fi - elif [[ "x${{ matrix.image }}" = xmacos-* ]]; then - gem install ronn - brew install automake coreutils cmocka pkg-config - fi - - - name: Run yatr - env: - CC: "${{ matrix.compiler }}" - TARGET: "${{ matrix.target }}" - DISTFILES_URL: "${{ secrets.DISTFILES_URL }}" - DISABLE_PUBLISHER: "${{ matrix.compiler != 'gcc' && matrix.target != 'clang-analyzer' }}" - run: curl -sSf https://yatr.rgm.io/run.sh | bash |