name: C/C++ CI on: push: branches: [ "main" ] pull_request: branches: [ "main" ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: configure run: ./configure - name: make a test file run: echo "test file" >> test.txt - name: make (MIME support) run: make - name: test the executable run: ./fileinfo test.txt - name: clean up run: make clean - name: make (no MIME support) run: make nomime - name: test the non-mime executable run: ./fileinfo test.txt - name: clean up run: make clean