-
Notifications
You must be signed in to change notification settings - Fork 21
36 lines (34 loc) · 873 Bytes
/
utils.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Utils
on:
push:
branches:
- master
- main
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@v4
with:
submodules: recursive
- 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 --threads 16
- name: Run
run: ./utils/shell-docker.sh ./all.py bench --default --frames 10 --threads 4