Don't vendor nlohmann_json when USE_SYSTEM_DEPS is on. #80
Workflow file for this run
This file contains hidden or 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: Packaging CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| metadata: | |
| runs-on: ubuntu-24.04 | |
| name: Package Metadata | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Validate release metadata | |
| run: ./scripts/release-check.sh | |
| - name: Validate packaging helper scripts | |
| run: | | |
| bash -n scripts/package-debian-source.sh | |
| bash -n scripts/package-alpine-apkbuild.sh | |
| bash -n scripts/package-fedora-srpm.sh | |
| bash -n scripts/package-rpm-srpm.sh | |
| bash -n scripts/publish-aur.sh | |
| bash -n scripts/publish-homebrew.sh | |
| bash -n scripts/publish-ppa.sh | |
| bash -n scripts/release-pin-alpine.sh | |
| bash -n scripts/release-pin-arch.sh | |
| bash -n scripts/release-pin-conda.sh | |
| bash -n scripts/release-pin-homebrew.sh | |
| bash -n scripts/release-pin-macports.sh | |
| bash -n scripts/release-pin-spack.sh | |
| bash -n scripts/release-pin-vcpkg.sh | |
| - name: Validate package recipe syntax | |
| run: | | |
| python3 -m py_compile packaging/conan/conanfile.py packaging/spack/package.py | |
| ruby -c packaging/homebrew/Formula/icey.rb | |
| debian-source: | |
| runs-on: ubuntu-24.04 | |
| name: Debian Source | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Debian source tooling | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y curl debhelper devscripts dpkg-dev rsync | |
| - name: Build Debian source package | |
| run: make package-debian-source | |
| rpm-srpm: | |
| runs-on: ubuntu-24.04 | |
| name: RPM SRPM | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install RPM tooling | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y curl rpm | |
| - name: Build SRPM | |
| run: make package-rpm-srpm | |
| fedora-srpm: | |
| runs-on: ubuntu-24.04 | |
| name: Fedora SRPM | |
| env: | |
| CMAKE_BUILD_PARALLEL_LEVEL: 1 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Build SRPM inside Fedora | |
| run: make package-fedora-srpm | |
| alpine-apkbuild: | |
| runs-on: ubuntu-24.04 | |
| name: Alpine APKBUILD | |
| env: | |
| CMAKE_BUILD_PARALLEL_LEVEL: 1 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Build package inside Alpine | |
| run: make package-alpine-apkbuild | |
| nix: | |
| runs-on: ubuntu-24.04 | |
| name: Nix Flake | |
| env: | |
| NIX_CONFIG: experimental-features = nix-command flakes | |
| NIX_BUILD_CORES: 1 | |
| CMAKE_BUILD_PARALLEL_LEVEL: 1 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Nix | |
| run: | | |
| sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --no-daemon | |
| - name: Build flake package | |
| run: | | |
| . "$HOME/.nix-profile/etc/profile.d/nix.sh" | |
| NIX_BUILD_FLAGS=-L make package-nix |