[all] remove nix #139
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@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 |