Created
November 8, 2020 03:27
-
-
Save advancedwebdeveloper/2927ae765f44e387a804d01523bc572f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: LLVM | |
on: | |
create: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get Clang's version | |
run: clang --version | |
- name: Check our path | |
run: pwd | |
- name: Extracting llc's host target | |
run: llc-9 --version | grep CPU | |
- name: Compile test tool, for retrieveing CPU features | |
run: clang -I/usr/lib/llvm-9/include/ -I/usr/lib/llvm-9/include/llvm-c -L/usr/lib/llvm-9/lib -lLLVM-9 -lstdc++ $GITHUB_WORKSPACE/llvm_cpu_features_investigation.cpp | |
- name: Run the CPU feature extractor | |
run: ./a.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment