[py] bump to 3.12 #226
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: 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 |