Merge pull request #48 from MasWag/master #105
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: Benchmark | |
on: | |
push: | |
# thanks to https://izumisy.work/entry/2022/03/28/140644 | |
jobs: | |
ubuntu-2204: | |
name: ubuntu-2204 | |
runs-on: Ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Buildx | |
uses: docker/setup-buildx-action@v2 | |
- uses: docker/build-push-action@v2 | |
with: | |
file: Dockerfile | |
tags: tfhepp-2204 | |
push: false | |
load: true | |
cache-from: type=gha,scope=buildx-${{ github.workflow }}-${{ github.job }} | |
cache-to: type=gha,mode=max,scope=buildx-${{ github.workflow }}-${{ github.job }} | |
- uses: addnab/docker-run-action@v3 | |
with: | |
image: tfhepp-2204 | |
run: /TFHEpp/build/test/benchmark_docker.sh |