Update README.md #31
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: Merge results | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
run: | |
name: Merge results | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout benchmarks repository | |
uses: actions/checkout@v3 | |
- name: Download merge-results binary | |
uses: dawidd6/action-download-artifact@v2 | |
with: | |
repo: ${{ format('{0}-ci', github.repository) }} | |
workflow: ci.yml | |
branch: main | |
- name: Set merge-results binary permissions | |
run: | | |
chmod +x iocost-benchmarks-ci/merge-results | |
- name: Download resctl-demo binary | |
uses: dawidd6/action-download-artifact@v2 | |
with: | |
repo: ${{ format('{0}-ci', github.repository) }} | |
workflow: build-resctl-demo.yml | |
branch: main | |
- name: Set resctl-demo permissions | |
run: | | |
chmod +x resctl-demo-v*/* | |
- name: Smoketest resctl-demo | |
run: | | |
resctl-demo-v2.1/resctl-bench --version | |
resctl-demo-v2.2/resctl-bench --version | |
- name: Install PDF formatting dependencies and fix config | |
run: | | |
mkdir -p ~/.fonts/adobe-fonts | |
git clone https://github.com/adobe-fonts/source-code-pro.git ~/.fonts/adobe-fonts/source-code-pro | |
fc-cache -f -v ~/.fonts/adobe-fonts/source-code-pro | |
sudo apt install inkscape ghostscript | |
sudo sed -i '/disable ghostscript format types/,+6d' /etc/ImageMagick-6/policy.xml | |
- name: Run merge-results | |
env: | |
GITHUB_CONTEXT: ${{ toJSON(github) }} | |
run: iocost-benchmarks-ci/merge-results | |
- name: Upload PDFs | |
uses: actions/upload-artifact@v3 | |
with: | |
name: PDFs | |
if-no-files-found: error | |
path: | | |
pdfs | |
- name: Upload merged results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Merged results | |
if-no-files-found: error | |
path: | | |
merged-results | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: hwdb input files | |
if-no-files-found: error | |
path: | | |
hwdb-inputs | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Final hwdb file | |
if-no-files-found: error | |
path: | | |
90-iocost-tune.hwdb |