From df2a776a0aecf6d3f5f0194538abc55259ec1093 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Sun, 29 Jun 2025 18:00:04 -0400 Subject: [PATCH] Fix gitattributes and install build tools for CI --- .gitattributes | 12 +++++++++++- .github/workflows/python-ci.yml | 11 +++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index fcadb2c..427a97e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,11 @@ -* text eol=lf +* text=auto eol=lf +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.svg binary +*.ico binary +*.pdf binary +*.eps binary +*.ai binary +*.penpot binary diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index 867fae0..4a824c4 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -17,6 +17,17 @@ jobs: - uses: actions/setup-python@v4 with: python-version: '3.11' + - name: Install build tools + shell: bash + run: | + if [ "$RUNNER_OS" = "Linux" ]; then + sudo apt-get update + sudo apt-get install -y pkg-config build-essential + elif [ "$RUNNER_OS" = "macOS" ]; then + brew install pkg-config + else + choco install pkgconfiglite -y + fi - name: Cache pip uses: actions/cache@v3 with: