#!/bin/bash export RUSTFLAGS="-C target-cpu=native -C lto -C embed-bitcode=yes" BRANCH=testing for commit in $(cat test_commits.txt) do git checkout $commit cargo build --release mv target/release/bishop bishop_$commit done