Skip to content

Commit

Permalink
GH Actions: Added MacOS Unit Tests
Browse files Browse the repository at this point in the history
Changelog: None
Ticket: CFE-3540
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
  • Loading branch information
olehermanse committed Jan 9, 2021
1 parent 2a36934 commit cb7af29
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/macos_unit_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: MacOS Unit Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
macos_unit_tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install dependencies
run: brew install lmdb automake
- name: Run autotools / configure
run: ./autogen.sh --enable-debug --with-openssl="$(brew --prefix openssl)"
- name: Compile and link
run: make -j8 CFLAGS="-Werror -Wall"
- name: Run unit tests
run: make -C tests/unit check

0 comments on commit cb7af29

Please sign in to comment.