Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MorganCaron committed Mar 1, 2024
1 parent 7099686 commit 39035aa
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# clang-precompiled-action
# Latest Clang for Github Actions
GitHub action to provide a precompiled version of LLVM Clang for continuous integration without having to recompile at each run.

![Github Stars](https://img.shields.io/github/stars/MorganCaron/clang-precompiled-action?style=for-the-badge)
Expand All @@ -7,4 +7,29 @@ GitHub action to provide a precompiled version of LLVM Clang for continuous inte
[![License](https://img.shields.io/github/license/MorganCaron/clang-precompiled-action?style=for-the-badge)](https://github.com/MorganCaron/CppUtils/blob/master/LICENSE)

### Project Health
![Build](https://img.shields.io/github/actions/workflow/status/MorganCaron/clang-precompiled-action/main.yml?style=for-the-badge&logo=linux&logoColor=white&label=Build)
![Build](https://img.shields.io/github/actions/workflow/status/MorganCaron/clang-precompiled-action/main.yml?style=for-the-badge&logo=linux&logoColor=white&label=Build)

### Usage

```yml
name: "Build with latest Clang"

on: [ push, pull_request ]

jobs:
build:
name: "Clang"
steps:
- uses: actions/checkout@v4
- uses: MorganCaron/latest-clang-action@master
- name: Compile
env:
CC: "clang"
CXX: "clang++"
run: |
clang++ -o test test.cpp
./test
- name: Run
run: |
./test
```

0 comments on commit 39035aa

Please sign in to comment.