types: fix potential use after free on adding keys during iteration #730
Workflow file for this run
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
name: Build on macOS | |
on: | |
push: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
build: | |
name: Build | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
run: | | |
brew install json-c | |
- name: Build minimal version | |
run: | | |
mkdir build | |
cd build | |
cmake \ | |
-D NL80211_SUPPORT=OFF \ | |
-D RTNL_SUPPORT=OFF \ | |
-D UBUS_SUPPORT=OFF \ | |
-D UCI_SUPPORT=OFF \ | |
-D ULOOP_SUPPORT=OFF \ | |
.. | |
make | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: minimal-build | |
if-no-files-found: ignore | |
path: | | |
build/ |