Skip to content

Releases: aminya/setup-cpp

v1.5.0

07 Apr 10:28
Compare
Choose a tag to compare

What's Changed

  • feat: allow using setup-cpp as a library by @aminya in #386
  • fix: pin vcpkg on Alpine Arm64 by @aminya in #389
  • fix: do not add LLVM libraries to dyld by default by @aminya in #388

Full Changelog: v1.4.0...v1.5.0

v1.4.0

24 Mar 00:43
Compare
Choose a tag to compare

What's Changed

  • 🎉 feat: support Alpine + add setup-alpine package by @aminya in #379
  • ci: add docker tags with the base platform versions by @aminya in #381 (e.g. setup-cpp-ubuntu:20.04)
  • fix: detect externally managed Python to avoid warnings by @aminya in #379

Alpine Images (amd64 and arm64)

Setup-cpp now provides prebuilt images for Alpine with support for base tools, and compilers llvm, gcc, and mingw available for amd64 and arm64 architectures.

Base image with cmake, ninja, task, vcpkg, python, make, cppcheck, gcovr, doxygen, ccache, conan, meson, cmakelang for Alpine:

FROM aminya/setup-cpp-alpine:3.21 AS builder

Image with llvm and the base tools:

FROM aminya/setup-cpp-alpine-llvm:3.21 AS builder

Image with gcc and the base tools:

FROM aminya/setup-cpp-alpine-gcc:3.21 AS builder

Image with mingw and the base tools:

FROM aminya/setup-cpp-alpine-mingw:3.21 AS builder

Full Changelog: v1.3.0...v1.4.0

v1.3.0

23 Mar 03:32
Compare
Choose a tag to compare

What's Changed

  • feat: add Ubuntu 20 and 24 docker builds by @aminya in #375
  • fix: fix python installation on Ubuntu 20 by @aminya in #375
  • chore(deps): update devdependencies by @renovate in #376

Breaking changes for Ubuntu Docker images

The latest tag for setup-cpp on Docker now points to Ubuntu 24.04. Please pin the specific version if needed:

Base image with cmake, ninja, task, vcpkg, python, make, cppcheck, gcovr, doxygen, ccache, conan, meson, cmakelang for Ubuntu 24.04:

FROM aminya/setup-cpp-ubuntu:24.04-1.3.0 AS builder

Image with llvm and the base tools:

FROM aminya/setup-cpp-ubuntu-llvm:24.04-1.3.0 AS builder

Image with gcc and the base tools:

FROM aminya/setup-cpp-ubuntu-gcc:24.04-1.3.0 AS builder

Image with mingw and the base tools:

FROM aminya/setup-cpp-ubuntu-mingw:24.04-1.3.0 AS builder

There are also the variants for Ubuntu 22.04

FROM aminya/setup-cpp-ubuntu:22.04-1.3.0 AS builder
FROM aminya/setup-cpp-ubuntu-llvm:22.04-1.3.0 AS builder
FROM aminya/setup-cpp-ubuntu-gcc:22.04-1.3.0 AS builder
FROM aminya/setup-cpp-ubuntu-mingw:22.04-1.3.0 AS builder

And for Ubuntu 20.04:

FROM aminya/setup-cpp-ubuntu:20.04-1.3.0 AS builder
FROM aminya/setup-cpp-ubuntu-llvm:20.04-1.3.0 AS builder
FROM aminya/setup-cpp-ubuntu-gcc:20.04-1.3.0 AS builder
FROM aminya/setup-cpp-ubuntu-mingw:20.04-1.3.0 AS builder

Note that nala is no longer included in the setup-cpp images by default. You can install it manually via setup-cpp --nala true in your Docker image if you rely on it.

Full Changelog: v1.2.2...v1.3.0

v1.2.2

17 Mar 04:30
Compare
Choose a tag to compare

What's Changed

  • 🎉 ci: tests and executables for Linux arm by @aminya in #363
  • fix apt installation fallbacks to latest by @aminya in #363
  • fix old LLVM on latest Ubuntu arm by @aminya in #363
  • feat: install sccache on latest ubuntu arm by @aminya in #373
  • fix Doxygen on Linux Arm by @aminya in #363

Full Changelog: v1.2.1...v1.2.2

v1.2.1

11 Mar 05:25
Compare
Choose a tag to compare

What's Changed

  • 🎉 feat: add multi-architecture Docker images for setup-cpp by @aminya in #361
  • 🎉 feat: install LLVM via brew on Mac if possible by @aminya in #367 and #364
  • 🎉 fix: avoid already installed warnings for brew by @aminya in #369
  • feat: add git as an installable tool by @aminya in #362
  • fix: add polyfill for crypto.randomuuid for Node 12 by @aminya in #368 and #370

Full Changelog: v1.1.1...v1.2.0

v1.2.0

11 Mar 04:49
Compare
Choose a tag to compare

What's Changed

Note: superseded by v1.2.1

  • feat: add multi-architecture Docker images for setup-cpp by @aminya in #361
  • feat: install LLVM via brew on Mac if possible by @aminya in #367 and #364
  • feat: add git as an installable tool by @aminya in #362
  • fix: avoid already installed warnings for brew by @aminya in #369
  • fix: add polyfill for crypto.randomuuid for Node 12 by @aminya in #368 and #370

Full Changelog: v1.1.1...v1.2.0

v1.1.1

02 Mar 21:07
Compare
Choose a tag to compare

What's Changed

v1.1.0

01 Mar 11:23
Compare
Choose a tag to compare

What's Changed

  • feat: install setup-cpp CLI in GitHub Actions by @aminya in #350
    When using the setup-cpp action in GitHub Actions, by default it will also install the setup-cpp CLI, which you can use in the subsequent commands. You can modify the default behaviour if needed.
  - name: Setup Cpp
    uses: aminya/setup-cpp@v1
    with:
      setup-cpp: true
      node-package-manager: "npm"

  - name: Use Setup Cpp CLI
    run: setup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true

Full Changelog: v1.0.0...v1.1.0

v1.0.0

01 Mar 08:42
Compare
Choose a tag to compare

What's Changed

  • feat: add Arm64 docker builds by @aminya in #343
  • feat: add setup-cpp base Docker images by @aminya in #343
  • feat: add conan, cmakelang, meson to base images by @aminya in #344
  • feat: add docker images with gcc as the compiler
  • fix: fix gcc paths in Fedora/Arch by @aminya in #345
  • fix: fix vcpkg on Linux Arm64 by @aminya in #343
  • fix: update apt for the first install by @aminya in #343

To provide fast development environments, setup-cpp provides several prebuilt docker images that have the tools you need. You can use these images as a base image for your project.

The names are in the format aminya/setup-cpp-<platform>:<platform_version>-<setup_cpp_version> and aminya/setup-cpp-<platform>-<compiler>:<platform_version>-<setup_cpp_version>.

Ubuntu Images

Base image with cmake, ninja, task, vcpkg, python, make, cppcheck, gcovr, doxygen, ccache, conan, meson, cmakelang

FROM aminya/setup-cpp-ubuntu:22.04-1.0.0 AS builder

Image with llvm and the base tools:

FROM aminya/setup-cpp-ubuntu-llvm:22.04-1.0.0 AS builder

Image with gcc and the base tools:

FROM aminya/setup-cpp-ubuntu-gcc:22.04-1.0.0 AS builder

Image with mingw and the base tools:

FROM aminya/setup-cpp-ubuntu-mingw:22.04-1.0.0 AS builder

Fedora Images

Base image with cmake, ninja, task, vcpkg, python, make, cppcheck, gcovr, doxygen, ccache, conan, meson, cmakelang

FROM aminya/setup-cpp-fedora:40-1.0.0 AS builder

Image with llvm and the base tools:

FROM aminya/setup-cpp-fedora-llvm:40-1.0.0 AS builder

Image with gcc and the base tools:

FROM aminya/setup-cpp-fedora-gcc:40-1.0.0 AS builder

Image with mingw and the base tools:

FROM aminya/setup-cpp-fedora-mingw:40-1.0.0 AS builder

ArchLinux Images

Base image with cmake, ninja, task, vcpkg, python, make, cppcheck, gcovr, doxygen, ccache, conan, meson, cmakelang

FROM aminya/setup-cpp-arch:base-1.0.0 AS builder

Image with llvm and the base tools:

FROM aminya/setup-cpp-arch-llvm:base-1.0.0 AS builder

Image with gcc and the base tools:

FROM aminya/setup-cpp-arch-gcc:base-1.0.0 AS builder

Image with mingw and the base tools:

FROM aminya/setup-cpp-arch-mingw:base-1.0.0 AS builder

Full Changelog: v0.46.2...v1.0.0

v0.46.2

16 Feb 06:51
Compare
Choose a tag to compare

What's Changed

  • fix: more robust parsing of compiler name/versions + support apple-clang compiler name by @aminya in #341

Full Changelog: v0.46.1...v0.46.2