New release libneat-1.0.6. #31
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
# GitHub Actions Scripts | |
# Copyright (C) 2021-2024 by Thomas Dreibholz | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. | |
# | |
# You should have received a copy of the GNU General Public License | |
# along with this program. If not, see <http://www.gnu.org/licenses/>. | |
# | |
# Contact: [email protected] | |
name: Packaging CI Tests | |
on: | |
push: | |
branches: | |
- master | |
- dreibh/github-actions | |
jobs: | |
# ====== Ubuntu Linux ===================================================== | |
ubuntu-packaging: | |
name: Ubuntu Packaging | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Packaging | |
shell: bash | |
run: | | |
sudo CC=gcc CXX=g++ OS=ubuntu DIST=noble ARCH= ci/ci-setup package | |
sudo CC=gcc CXX=g++ OS=ubuntu DIST=noble ARCH= ci/ci-install package | |
sudo CC=gcc CXX=g++ OS=ubuntu DIST=noble ARCH= ci/ci-build package | |
sudo ci/ci-test | |
# ====== Debian Linux ===================================================== | |
debian-packaging: | |
name: Debian Packaging | |
runs-on: ubuntu-latest | |
container: | |
image: debian:unstable | |
options: --privileged | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Packaging | |
shell: bash | |
run: | | |
CC=gcc CXX=g++ OS=debian DIST=unstable ARCH= ci/ci-setup package | |
CC=gcc CXX=g++ OS=debian DIST=unstable ARCH= ci/ci-install package | |
CC=gcc CXX=g++ OS=debian DIST=unstable ARCH= ci/ci-build package | |
# ci/ci-test <- Not running on Ubuntu! | |
# ====== Fedora Linux ===================================================== | |
fedora-packaging: | |
name: Fedora Packaging | |
runs-on: ubuntu-latest | |
container: | |
# Using Fedora 39 here, due to problems with Mock! | |
# => https://github.com/rpm-software-management/mock/issues/1487 | |
image: fedora:39 | |
options: --privileged --cap-add=SYS_ADMIN | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Packaging | |
shell: bash | |
run: | | |
CC=clang CXX=clang++ ARCH= ci/ci-setup package | |
CC=clang CXX=clang++ ARCH= ci/ci-install package | |
CC=clang CXX=clang++ ARCH= ci/ci-build package | |
ci/ci-test |