Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomas-chqt/get-compiler-path
Github composite action to get the path of a given compiler
https://github.com/thomas-chqt/get-compiler-path
Last synced: 5 days ago
JSON representation
Github composite action to get the path of a given compiler
- Host: GitHub
- URL: https://github.com/thomas-chqt/get-compiler-path
- Owner: Thomas-Chqt
- Created: 2024-06-01T11:12:09.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-06-01T14:18:29.000Z (6 months ago)
- Last Synced: 2024-06-02T12:48:39.618Z (6 months ago)
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Exemple:
```
name: Print compilers path
run-name: Print compilers path for ${{ github.ref }} by ${{ github.actor }}on:
pull_request_target:
branches: [ $default-branch ]
push:
branches-ignore: []jobs:
Print-Path:
strategy:
matrix:
os: [ macos-latest, ubuntu-latest ]
compiler: [ clang-13, clang-14, clang-15, gcc-10, gcc-11, gcc-12, gcc-13 ]
include:
- os: windows-latest
compiler: clang
- os: windows-latest
compiler: gccexclude:
- os: macos-latest
compiler: clang-13
- os: macos-latest
compiler: clang-14
- os: macos-latest
compiler: gcc-10
- os: ubuntu-latest
compiler: gcc-13fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Get compiler path
id: get-path
uses: Thomas-Chqt/Get-Compiler-Path@master
with:
compiler: ${{ matrix.compiler }}- name: Print compiler path
run: |
echo "C Compiler path is ${{ steps.get-path.outputs.c-path }}"
echo "C++ Compiler path is ${{ steps.get-path.outputs.cpp-path }}"```