Skip to content

Commit

Permalink
chore: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JohelEGP committed Feb 12, 2021
0 parents commit c7b5c01
Show file tree
Hide file tree
Showing 11 changed files with 58,442 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
24 changes: 24 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <http://unlicense.org>
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# GCC Snapshot

Sets up the latest GCC snapshot ready-to-use.

It uses the package from https://jwakely.github.io/pkg-gcc-latest/
and thus requires an Ubuntu runner.

It has no output or required input arguments.
It uses no secrets.

It prepends to `PATH` and `LD_RUN_PATH`
so that the snapshot is ready-to-use.

## Optional input argument

`cache`:
Whether to use `@actions/cache` for the snapshot.
`true` (default) or `false`.

## Example

```yml
on: push
jobs:
gcc-snapshot:
runs-on: ubuntu-latest
steps:
- uses: johelegp/gcc-snapshot@v1 # This action.
- uses: actions/checkout@v2
- uses: johelegp/modern-cmake-buildsystem@v1
```
10 changes: 10 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: 'GCC Snapshot'
description: 'Sets up the latest GCC snapshot ready-to-use.'
inputs:
cache:
description: 'Whether to use @actions/cache for the snapshot. `true` (default) or `false`.'
required: false
default: true
runs:
using: 'node12'
main: 'dist/index.js'
Loading

0 comments on commit c7b5c01

Please sign in to comment.