-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ubuntu-18.04 to try to fix build errors Error: time.c:88:28: error: conflicting types for ‘gettimeofday’ 88 | int RETRACE_IMPLEMENTATION(gettimeofday)(struct timeval *tv, struct timezone *tz) | ^~~~~~~~~~~~ common.h:170:39: note: in definition of macro ‘RETRACE_IMPLEMENTATION’ 170 | #define RETRACE_IMPLEMENTATION(func) (func) | ^~~~ In file included from common.h:9, from time.c:26: /usr/include/x86_64-linux-gnu/sys/time.h:66:12: note: previous declaration of ‘gettimeofday’ was here 66 | extern int gettimeofday (struct timeval *__restrict __tv, | ^~~~~~~~~~~~
- Loading branch information
1 parent
7080097
commit 9a4a2d3
Showing
13 changed files
with
315 additions
and
146 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,23 @@ | ||
name: Checkpatch | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up environment | ||
run: | | ||
echo CHECKPATCH_INSTALL="${HOME}/builds/checkpatch-install" >> "${GITHUB_ENV}" | ||
./ci/before_install.sh | ||
- name: Install more prerequisites | ||
run: ./ci/install.sh checkpatch | ||
- name: Check patch | ||
run: ./ci/checkpatch.sh |
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,45 @@ | ||
name: macOS | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- 'release/**' | ||
paths-ignore: | ||
- 'docs/**' | ||
- '**.adoc' | ||
- '**.md' | ||
- '.github/workflows/*.yml' | ||
- '!.github/workflows/macos.yml' | ||
pull_request: | ||
paths-ignore: | ||
- 'docs/**' | ||
- '**.adoc' | ||
- '**.md' | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [macos-10.15, macos-11.0] | ||
if: "!contains(github.event.head_commit.message, 'skip ci')" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
- name: Set up environment | ||
run: | | ||
echo CMOCKA_INSTALL="${HOME}/builds/cmocka-install" >> "${GITHUB_ENV}" | ||
- name: Install more prerequisites | ||
run: | | ||
./ci/before_install.sh | ||
./ci/install.sh cmocka libnereon | ||
- name: Configure | ||
run: | | ||
./autogen.sh | ||
./configure --enable-tests | ||
- name: Build | ||
run: ./ci/main.sh |
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,43 @@ | ||
name: Ubuntu | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- 'release/**' | ||
paths-ignore: | ||
- 'docs/**' | ||
- '**.adoc' | ||
- '**.md' | ||
- '.github/workflows/*.yml' | ||
- '!.github/workflows/ubuntu.yml' | ||
pull_request: | ||
paths-ignore: | ||
- 'docs/**' | ||
- '**.adoc' | ||
- '**.md' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-18.04 | ||
strategy: | ||
fail-fast: false | ||
if: "!contains(github.event.head_commit.message, 'skip ci')" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
- name: Set up environment | ||
run: | | ||
echo CMOCKA_INSTALL="${HOME}/builds/cmocka-install" >> "${GITHUB_ENV}" | ||
- name: Install more prerequisites | ||
run: | | ||
./ci/before_install.sh | ||
./ci/install.sh cmocka libnereon | ||
- name: Configure | ||
run: | | ||
./autogen.sh | ||
./configure --enable-tests | ||
- name: Build | ||
run: ./ci/main.sh |
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,50 @@ | ||
name: Windows | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- 'release/**' | ||
paths-ignore: | ||
- 'docs/**' | ||
- '**.adoc' | ||
- '**.md' | ||
- '.github/workflows/*.yml' | ||
- '!.github/workflows/windows.yml' | ||
pull_request: | ||
paths-ignore: | ||
- 'docs/**' | ||
- '**.adoc' | ||
- '**.md' | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
strategy: | ||
fail-fast: false | ||
if: "!contains(github.event.head_commit.message, 'skip ci')" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
- uses: msys2/setup-msys2@v2 | ||
with: | ||
path-type: inherit | ||
- name: Set up environment | ||
shell: msys2 {0} | ||
run: | | ||
echo CMOCKA_INSTALL="${HOME}/builds/cmocka-install" >> "${GITHUB_ENV}" | ||
- name: Install more prerequisites | ||
shell: msys2 {0} | ||
run: | | ||
./ci/before_install.sh | ||
./ci/install.sh libnereon | ||
- name: Configure | ||
shell: msys2 {0} | ||
run: | | ||
./autogen.sh | ||
./configure --enable-tests | ||
- name: Build | ||
shell: msys2 {0} | ||
run: ./ci/main.sh |
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.