-
-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e58559
commit 6715b91
Showing
3 changed files
with
27 additions
and
23 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 |
---|---|---|
|
@@ -12,48 +12,51 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: update build environment | ||
- name: Checkout Mini-XML sources | ||
uses: actions/checkout@v4 | ||
- name: Update build environment | ||
run: sudo apt-get update --fix-missing -y | ||
- name: install prerequisites | ||
- name: Install prerequisites | ||
run: sudo apt-get install -y cppcheck | ||
- name: configure | ||
- name: Configure Mini-XML | ||
env: | ||
CC: /usr/bin/gcc | ||
run: ./configure --enable-debug --enable-maintainer | ||
- name: make | ||
run: ./configure --enable-debug --enable-maintainer --with-sanitizer | ||
- name: Build Mini-XML | ||
run: make | ||
- name: test | ||
- name: Test Mini-XML | ||
env: | ||
ASAN_OPTIONS: leak_check_at_exit=false | ||
run: make test | ||
- name: clang static analyzer | ||
- name: Run Clang Static Analyzer | ||
run: make CC=clang "GHA_ERROR=::error::" clang | ||
- name: cppcheck | ||
- name: Run cppcheck | ||
run: make "GHA_ERROR=::error::" cppcheck | ||
|
||
build-macos: | ||
|
||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: configure | ||
run: ./configure --enable-debug --enable-maintainer | ||
- name: make | ||
- name: Checkout Mini-XML sources | ||
uses: actions/checkout@v4 | ||
- name: Configure Mini-XML | ||
run: ./configure --enable-debug --enable-maintainer --with-sanitizer | ||
- name: Build Mini-XML | ||
run: make | ||
- name: test | ||
- name: Test Mini-XML | ||
run: make test | ||
- name: clang static analyzer | ||
- name: Run Clang Static Analyzer | ||
run: make CC=clang "GHA_ERROR=::error::" clang | ||
|
||
build-windows: | ||
|
||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: setup-msbuild | ||
- name: Checkout Mini-XML sources | ||
uses: actions/checkout@v4 | ||
- name: Setup msbuild | ||
uses: microsoft/[email protected] | ||
- name: msbuild | ||
- name: Build Mini-XML | ||
run: msbuild vcnet\mxml.sln |
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
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