Switch autorouting to nix-shell wrapper

This commit is contained in:
Marco Massarelli 2023-10-19 11:21:46 -04:00
parent 8f5e637f6b
commit d68330de58
1 changed files with 2 additions and 3 deletions

View File

@ -6,8 +6,7 @@ inputs:
required: true
runs:
using: 'docker'
image: 'docker://soundmonster/freerouting_cli:v0.1.0'
entrypoint: '/bin/sh'
image: 'docker://nixos/nix'
args:
- '-c'
- |
@ -18,5 +17,5 @@ runs:
echo Cleaning up ergogen/output/pcbs/${board}.ses
rm -f ergogen/output/pcbs/${board}.ses
fi
java -jar /opt/freerouting_cli.jar -de ergogen/output/pcbs/${board}.dsn -do ergogen/output/pcbs/${board}.ses -dr freerouting/freerouting.rules -mp 35
nix-shell --argstr board ${board} shell.nix
done