All Projects → egor-tensin → setup-gcc

egor-tensin / setup-gcc

Licence: MIT license
GitHub action to set up GCC

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to setup-gcc

clojure-dependency-update-action
A simple GitHub Actions job to create Pull Requests for outdated dependencies in clojure projects
Stars: ✭ 37 (-27.45%)
Mutual labels:  action, github-action
gha-setup-scancentral-client
GitHub Action to set up Fortify ScanCentral Client
Stars: ✭ 15 (-70.59%)
Mutual labels:  action, github-action
assign-one-project-github-action
Automatically add an issue or pull request to specific GitHub Project(s) when you create and/or label them.
Stars: ✭ 140 (+174.51%)
Mutual labels:  action, github-action
hugo-action
Commands to help with building Hugo based static sites
Stars: ✭ 65 (+27.45%)
Mutual labels:  action, github-action
action-dynamic-readme
~ Dynamic ReadME Generator ~
Stars: ✭ 29 (-43.14%)
Mutual labels:  action, github-action
ssh2actions
Connect to GitHub Actions VM via SSH for interactive debugging
Stars: ✭ 62 (+21.57%)
Mutual labels:  action, github-action
git-actions
A GitHub Action to run arbitrary git commands
Stars: ✭ 72 (+41.18%)
Mutual labels:  action, github-action
action-sync-node-meta
GitHub Action that syncs package.json with the repository metadata.
Stars: ✭ 25 (-50.98%)
Mutual labels:  action, github-action
mypy-check
github action for python's mypy type checker tool
Stars: ✭ 23 (-54.9%)
Mutual labels:  action, github-action
github-run-tests-action
mabl Github Actions implementation
Stars: ✭ 39 (-23.53%)
Mutual labels:  action, github-action
setup-bats
GitHub Action to setup BATS testing framework
Stars: ✭ 25 (-50.98%)
Mutual labels:  action, github-action
tectonic-action
Compile Tex files easily
Stars: ✭ 77 (+50.98%)
Mutual labels:  action, github-action
setup-jdk
(DEPRECATED) Set up your GitHub Actions workflow with a specific version of AdoptOpenJDK
Stars: ✭ 32 (-37.25%)
Mutual labels:  action, github-action
gitavscan
Git Anti-Virus Scan Action - Detect trojans, viruses, malware & other malicious threats.
Stars: ✭ 23 (-54.9%)
Mutual labels:  action
lamp-luwak
Service-oriented state management for React
Stars: ✭ 12 (-76.47%)
Mutual labels:  action
libsrcnn
Super-Resolution imaging with Convolutional Neural Network library for G++, Non-OpenCV model.
Stars: ✭ 14 (-72.55%)
Mutual labels:  gcc
googlejavaformat-action
GitHub Action that formats Java files following Google Style guidelines
Stars: ✭ 66 (+29.41%)
Mutual labels:  github-action
redux-lightweight
Write one business logic instead of writing actions, action types and reducers
Stars: ✭ 41 (-19.61%)
Mutual labels:  action
mTower
mTower is Trusted Execution Environment specially designed to be used on MicroController Units (MCUs) supporting ARM TrustZone technology (e.g., Cortex-M23/33/35p). mTower operates well under restrictions typical for such environment – small RAM and ROM sizes, relatively low performance, absence of rich OSes providing variety of services availab…
Stars: ✭ 34 (-33.33%)
Mutual labels:  gcc
composer-normalize-action
+ 🎵 Provides a GitHub action for running ergebnis/composer-normalize.
Stars: ✭ 25 (-50.98%)
Mutual labels:  github-action

Set up GCC

Test

This GitHub action sets up GCC in your workflow run.

  1. Installs either 32-bit or 64-bit GCC on either Ubuntu or Cygwin.
  2. Specify a version to install using the version parameter.
  3. For installing GCC on Windows please see my action setup-mingw.

Use it in your workflow like this:

- name: Set up GCC
  uses: egor-tensin/setup-gcc@v1
  with:
    version: latest
    platform: x64
  • latest is the default value for the version parameter and can be omitted.
  • x64 is the default value for the platform parameter and can be omitted. Use x86 if you want to build 32-bit binaries.
  • Set the cygwin parameter to 1 to set up GCC inside an existing Cygwin installation (you can set up Cygwin itself using my action setup-cygwin).
  • cc and c++ executables are set up, pointing to the gcc and g++ executables. Disable this by setting the cc parameter to 0.

API

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).
platform x64 Install the x86_64 toolchain.
any Install the i686 toolchain.
cygwin any Install native binaries.
1 Install Cygwin packages.
cc 1 Set up cc/gcc/c++/g++ executables.
any Don't set up the executables.
hardlinks any Cygwin: don't convert any symlinks.
1 Cygwin: convert symlinks in /usr/bin to hardlinks.

Supported versions

Unless the version parameter value is "latest", the ubuntu-toolchain-r/test PPA is used to make more versions available. You can pass the version number as the version parameter value (4.8, 8, 9, etc.), and this action will install the corresponding packages.

The version parameter value is not checked for being an available version for the current distribution. The supported versions for a particular distribution are those found in that distro's repositories & those in the PPA. For example, the supported versions for Bionic & Focal as of July 2021 are listed below.

version Bionic Focal
4.8
5
6
7
8
9
10
11

This table is not definitive; I expect more future versions to be made available, especially for Focal.

On Cygwin, the version parameter is ignored.

License

Distributed under the MIT License. See LICENSE.txt for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].