add test.pdf file to the repo it's c04 #5
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: Build and Test C Application | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libpoppler-glib-dev libglib2.0-dev pkg-config | |
- name: Build the application | |
run: | | |
gcc -o pdf_processor main.c $(pkg-config --cflags --libs poppler-glib glib-2.0) |