-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
43000ff
commit a195c02
Showing
3 changed files
with
37 additions
and
25 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 |
---|---|---|
|
@@ -9,47 +9,54 @@ on: | |
jobs: | ||
build-linux: | ||
|
||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: update build environment | ||
- name: Checkout PDFio 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 zlib1g-dev | ||
- name: make | ||
- name: Configure PDFio | ||
run: ./configure --enable-debug --enable-sanitizer --enable-maintainer | ||
- name: Build PDFio | ||
run: make "COMMONFLAGS=-g -fsanitize=address" | ||
- name: test | ||
- name: Test PDFio | ||
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: make | ||
- name: Checkout PDFio sources | ||
uses: actions/checkout@v4 | ||
- name: Configure PDFio | ||
run: ./configure --enable-debug --enable-sanitizer --enable-maintainer | ||
- name: Build PDFio | ||
run: make "COMMONFLAGS=-g -fsanitize=address" | ||
- name: test | ||
- name: Test PDFio | ||
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 PDFio sources | ||
uses: actions/checkout@v4 | ||
- name: Setup MSBuild | ||
uses: microsoft/[email protected] | ||
- name: nuget restore | ||
- name: Nuget Restore | ||
run: nuget restore pdfio.sln | ||
- name: msbuild | ||
- name: Build PDFio | ||
run: msbuild pdfio.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