parameter_scan: fix overwriting of progerss variable #20
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: Compile Cell-ID C Code | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install build tools | |
run: sudo apt-get update && sudo apt-get install -y build-essential libtiff-dev | |
- name: Compile C code | |
working-directory: src | |
run: | | |
make -f Makevars cellid | |
make -f Makevars test | |
- name: Verify compilation | |
run: | | |
if [ ! -f ./cell ]; then | |
echo "Compilation failed: executable not found." | |
exit 1 | |
fi | |
working-directory: src |