-
Notifications
You must be signed in to change notification settings - Fork 378
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Building and testing Wakaama on macOS with the default compiler and no additional sanitizers. This makes sure that the code can be used with macOS.
- Loading branch information
1 parent
c1a3e89
commit 2df455f
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Build and Test on macOS | ||
|
||
on: | ||
push: | ||
branches: '**' | ||
pull_request: | ||
branches: '**' | ||
|
||
jobs: | ||
build_and_test: | ||
runs-on: macos-14 | ||
|
||
steps: | ||
- name: Checkout code including full history and submodules | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 | ||
|
||
- name: Install dependencies from Homebrew | ||
run: | | ||
brew install automake cmake cunit gnu-getopt make ninja | ||
- name: Build all binaries | ||
run: | | ||
tools/ci/run_ci.sh --run-build --verbose | ||
- name: Build, execute sanitized unit tests | ||
run: | | ||
tools/ci/run_ci.sh --run-tests | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r tests/integration/requirements.txt | ||
- name: Execute integration tests | ||
run: | | ||
python -c "import sys; print(sys.version)" | ||
pytest -v tests/integration |