Skip to content

build in docker

build in docker #114

Workflow file for this run

name: Utils
on:
push:
paths:
- 'utils/**'
- '.github/workflows/utils.yml'
- '.github/workflows/common.yml'
- 'flake.*'
pull_request:
paths:
- 'utils/**'
- '.github/workflows/utils.yml'
- '.github/workflows/common.yml'
- 'flake.*'
workflow_dispatch:
jobs:
build:
name: Build Container
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Initialise docker cache
uses: satackey/[email protected]
continue-on-error: true
- name: Build Container
working-directory: utils
run: docker build --build-arg USER_ID="$(id -u)" --build-arg GROUP_ID="$(id -g)" -t rosettaboy .
- name: Build Rosettaboys
run: ./utils/shell-docker.sh ./all.py build --default
- name: Run
run: ./utils/shell-docker.sh ./all.py bench --default --frames 10 --threads 4