Skip to content

Commit

Permalink
gh: Temporary commit for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
PappasBrent committed Aug 7, 2024
1 parent ec4ec4c commit e1c03cc
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@
name: "Pre Release"

on:
workflow_run:
workflows: ["Build"]
types:
- completed
branches:
- "master"
push

permissions: write-all

Expand All @@ -30,7 +25,7 @@ jobs:

name: "Pre Release"
runs-on: ubuntu-${{ matrix.image-version }}
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ !cancelled() }}
timeout-minutes: 60
container:
image:
Expand Down Expand Up @@ -319,6 +314,7 @@ jobs:
disable-unsup: [true, false]

runs-on: ubuntu-${{ matrix.image-version }}
if: ${{ !cancelled() }}
timeout-minutes: 360
container:
image:
Expand Down Expand Up @@ -347,7 +343,8 @@ jobs:
run: |
git clone --depth=1 https://github.com/torvalds/linux.git linux
cd linux
make defconfig
make defconfig LLVM=-${{ matrix.llvm-version }}
make prepare LLVM=-${{ matrix.llvm-version }}
make LLVM=-${{ matrix.llvm-version }} -j $(nproc)
python3 ./scripts/clang-tools/gen_compile_commands.py
cd ../
Expand All @@ -357,7 +354,7 @@ jobs:
with:
repository: trailofbits/vast-benchmarks
sparse-checkout: benchmarks/linux_kernel
ref: main
ref: bench-linux-change-argument-handling
path: vast-benchmarks/
fetch-depth: 1

Expand Down Expand Up @@ -395,6 +392,7 @@ jobs:
matrix:
image-version: [22.04]
runs-on: ubuntu-${{ matrix.image-version }}
if: ${{ !cancelled() }}
steps:
- name: Fetch result artifacts
uses: actions/download-artifact@v4
Expand All @@ -415,10 +413,9 @@ jobs:
fetch-depth: 1

- name: Generate the results
run: >
python3 vast-benchmarks/utils/to_markdown.py \
'{ "HighLevel with unsupported": "vast_linux_kernel_times_hl_with_unsup.tsv", "HighLevel" : "vast_linux_kernel_times_hl_without_unsup.tsv" }'
--output_filepath linux_kernel_times.md
run: |
python3 vast-benchmarks/utils/to_markdown.py '{ "HighLevel with unsupported": "vast_linux_kernel_times_hl_with_unsup.tsv", "HighLevel" : "vast_linux_kernel_times_hl_without_unsup.tsv" }' --output_filepath linux_kernel_times.md
head -n 10 ./linux_kernel_times.md
- name: Post results as artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit e1c03cc

Please sign in to comment.