regenerate cli to nimlang and add nix build #4
Workflow file for this run
This file contains hidden or 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: Build and Test Godon CLI | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install Nix | |
| uses: cachix/install-nix-action@v25 | |
| with: | |
| nix_path: nixpkgs=channel:nixos-25.11 | |
| - name: Build with Nix | |
| run: nix build --verbose | |
| - name: Test binary | |
| run: | | |
| ./result/bin/godon-cli --help | |
| - name: Test breeder commands | |
| run: | | |
| # Test basic CLI functionality | |
| ./result/bin/godon-cli --help | |
| ./result/bin/godon-cli breeder --help || true # May fail, but tests argument parsing |