Statistics #625
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: Statistics | |
on: | |
schedule: | |
- cron: '0 2 * * *' | |
jobs: | |
gcc-c-torture: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- uses: MarkusJx/googletest-installer@v1.1 | |
- name: Cache LLVM | |
id: cache-llvm | |
uses: actions/cache@v3 | |
with: | |
path: llvm-clang.tar.gz | |
key: ${{ runner.os }}-llvm-clang | |
- name: Unpack LLVM | |
run: sudo chmod ugo+rwx llvm-clang.tar.gz && tar -xvf llvm-clang.tar.gz -C . > /dev/null | |
- name: Download gcc-c-torture | |
uses: robinraju/release-downloader@v1.11 | |
with: | |
repository: "polystat/c2eo" | |
tag: "0.1.16" | |
fileName: "gcc.c-torture.tar.gz" | |
- name: Unpack gcc-c-torture | |
run: tar -xvf gcc.c-torture.tar.gz -C . > /dev/null | |
- name: Compilation | |
run: | | |
cd ./project/scripts | |
python3 compile.py -h | |
python3 compile.py -p ../../gcc.c-torture -s gcc-compile -n -i -r 100 |