GitHub Action
Setup GCC
v1
Latest version
This GitHub action sets up GCC in your workflow run.
- Support Ubuntu and macOS.
- Specify a version to install using the version parameter.
Use it in your workflow like this:
- name: Setup GCC
uses: Dup4/actions-setup-gcc@v1
with:
version: latest
Input | Value | Default | Description |
---|---|---|---|
version | latest | ✓ | Install the latest version available in the repository. |
any | Install a specific version if it's available (see below). | ||
cc | true | ✓ | Set up cc /gcc /c++ /g++ /gcov executables. |
false | Don't set up the executables. | ||
env | true | ✓ | Set up CC /CXX /GCOV environment variables |
false | Don't set up the environment variables |