Skip to content

Commit

Permalink
Add a workflow to build GLOME's C bits on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
pkern committed Jun 20, 2024
1 parent af056db commit 5baa8b4
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/presubmit-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v2
- name: cpplint
run: pip install cpplint && cpplint --recursive .
test:
test-linux:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -68,3 +68,20 @@ jobs:
test -f build/out/usr/local/lib/x86_64-linux-gnu/libglome.so
test -f build/out/usr/local/lib/security/pam_glome.so || \
test -f build/out/usr/local/lib/x86_64-linux-gnu/security/pam_glome.so
test-macos:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: python -m pip install meson ninja
- name: Setup build directory
run: meson --werror build
- name: Build
run: ninja -C build
- name: Test
run: meson test --print-errorlogs -C build

0 comments on commit 5baa8b4

Please sign in to comment.