Skip to content

Commit

Permalink
Enable cURL, RSS on mac build, lint codeql.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
brndnmtthws committed Apr 26, 2024
1 parent e686a5f commit b6b9b36
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 19 deletions.
32 changes: 18 additions & 14 deletions .github/workflows/build-and-test-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,22 @@ jobs:
- name: Install dependencies
run: |
brew install --force \
cmake \
freetype \
gettext \
imlib2 \
gperf \
lcov \
librsvg \
libxft \
libxinerama \
libxfixes \
libxi \
lua \
ninja \
pkg-config \
cmake \
curl \
freetype \
gettext \
gperf \
imlib2 \
lcov \
librsvg \
libxfixes \
libxft \
libxi \
libxinerama \
libxml2 \
lua \
ninja \
pkg-config \
|| true # Ignore errors
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -57,6 +59,8 @@ jobs:
cmake .. -G Ninja \
-DMAINTAINER_MODE=ON \
-DBUILD_WAYLAND=OFF \
-DBUILD_RSS=ON \
-DBUILD_CURL=ON \
-DBUILD_TESTS=ON
- name: Compile
run: cmake --build build
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: "CodeQL"
name: 'CodeQL'

on:
schedule:
- cron: "20 2 * * 0"
- cron: '20 2 * * 0'

jobs:
analyze:
Expand All @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: ["cpp", "javascript", "python"]
language: ['cpp', 'javascript', 'python']
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
Expand All @@ -38,7 +38,6 @@ jobs:
libc++abi-14-dev \
libcairo2-dev \
libcurl4-gnutls-dev \
libcurl4-gnutls-dev \
libdbus-glib-1-dev \
libglib2.0-dev \
libical-dev \
Expand Down Expand Up @@ -86,4 +85,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
category: '/language:${{matrix.language}}'

0 comments on commit b6b9b36

Please sign in to comment.