Add flake.nix file for Nix/NixOS users #57
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: 'Execute tests' | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| permissions: | |
| contents: read | |
| jobs: | |
| run-tests: | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Install deps | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install make autoconf dash | |
| - name: Install Argbash | |
| run: "sudo make install PREFIX=/usr" | |
| working-directory: ./resources | |
| - name: Test Argbash | |
| run: "make -B ../tests/regressiontests/Makefile && make check ARGBASH_EXEC=argbash ARGBASH_INIT_EXEC=argbash-init" | |
| working-directory: ./resources |