-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* thread & url * fix cirrus * fix thread * fix thread * split actions * test * fix test * fix windows thread * cond & fail-fast
- Loading branch information
Showing
53 changed files
with
2,054 additions
and
453 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 |
---|---|---|
@@ -1,12 +1,10 @@ | ||
freebsd_task: | ||
only_if: $CIRRUS_BRANCH == 'master' | ||
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' | ||
freebsd_instance: | ||
image_family: freebsd-12-1 | ||
cpu: 1 | ||
memory: 2G | ||
test_script: | ||
- pkg install -y git cmake | ||
- mkdir build && cd build | ||
- cmake -DSANITIZER=address .. && make -j && make check && rm -rf * | ||
- cmake -DSANITIZER=undefined .. && make -j && make check && rm -rf * | ||
- cmake -DSANITIZER=address .. && make && make check && rm -rf * | ||
- cmake -DSANITIZER=undefined .. && make && make check && rm -rf * |
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,34 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
archs: | ||
# The host should always be linux | ||
runs-on: ubuntu-18.04 | ||
name: Build on aarch64 | ||
steps: | ||
- uses: actions/checkout@v2.1.0 | ||
- uses: uraimo/run-on-arch-action@v2.0.7 | ||
name: Build artifact | ||
id: build | ||
with: | ||
arch: aarch64 | ||
distro: ubuntu20.04 | ||
|
||
# Not required, but speeds up builds | ||
githubToken: ${{ github.token }} | ||
|
||
# The shell to run commands with in the container | ||
shell: /bin/sh | ||
|
||
# Produce a binary artifact and place it in the mounted volume | ||
run: | | ||
apt-get update -q -y | ||
apt-get install -q -y build-essential git gcc valgrind cmake | ||
uname -a;id;uname -m;lscpu | grep Endian | ||
mkdir build && cd build | ||
cmake .. && make -j && make check |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
archs: | ||
# The host should always be linux | ||
runs-on: ubuntu-18.04 | ||
name: Build on armv6 | ||
steps: | ||
- uses: actions/checkout@v2.1.0 | ||
- uses: uraimo/run-on-arch-action@v2.0.7 | ||
name: Build artifact | ||
id: build | ||
with: | ||
arch: armv6 | ||
distro: buster | ||
|
||
# Not required, but speeds up builds | ||
githubToken: ${{ github.token }} | ||
|
||
# The shell to run commands with in the container | ||
shell: /bin/sh | ||
|
||
# Produce a binary artifact and place it in the mounted volume | ||
run: | | ||
apt-get update -q -y | ||
apt-get install -q -y build-essential git gcc valgrind cmake | ||
uname -a;id;uname -m;lscpu | grep Endian | ||
mkdir build && cd build | ||
cmake .. && make -j && make check |
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,34 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
archs: | ||
# The host should always be linux | ||
runs-on: ubuntu-18.04 | ||
name: Build on armv7 | ||
steps: | ||
- uses: actions/checkout@v2.1.0 | ||
- uses: uraimo/run-on-arch-action@v2.0.7 | ||
name: Build artifact | ||
id: build | ||
with: | ||
arch: armv7 | ||
distro: buster | ||
|
||
# Not required, but speeds up builds | ||
githubToken: ${{ github.token }} | ||
|
||
# The shell to run commands with in the container | ||
shell: /bin/sh | ||
|
||
# Produce a binary artifact and place it in the mounted volume | ||
run: | | ||
apt-get update -q -y | ||
apt-get install -q -y build-essential git gcc valgrind cmake | ||
uname -a;id;uname -m;lscpu | grep Endian | ||
mkdir build && cd build | ||
cmake .. && make -j && make check |
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,21 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
coverage: | ||
runs-on: ubuntu-latest | ||
name: Coverage | ||
steps: | ||
- uses: actions/checkout@v2.1.0 | ||
- name: build | ||
run: | | ||
sudo apt-get install cmake lcov | ||
mkdir build-debug && cd build-debug | ||
cmake .. -DCMAKE_BUILD_TYPE=Coverage | ||
make -j | ||
make coverage | ||
bash <(curl -s https://codecov.io/bash) -f coverage.info -t ${{ secrets.CODECOV }} |
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,31 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
macos: | ||
runs-on: macos-latest | ||
name: Build on Mac OS | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
compiler: [ gcc, clang ] | ||
|
||
steps: | ||
- uses: actions/checkout@v2.1.0 | ||
- name: build | ||
env: | ||
CC: ${{ matrix.compiler }} | ||
run: | | ||
mkdir build-debug && cd build-debug | ||
cmake .. -DSANITIZER=address | ||
make -j | ||
make check | ||
rm -rf * | ||
cmake .. -DSANITIZER=undefined | ||
make -j | ||
make check |
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,34 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
archs: | ||
# The host should always be linux | ||
runs-on: ubuntu-18.04 | ||
name: Build on ppc64le | ||
steps: | ||
- uses: actions/checkout@v2.1.0 | ||
- uses: uraimo/run-on-arch-action@v2.0.7 | ||
name: Build artifact | ||
id: build | ||
with: | ||
arch: ppc64le | ||
distro: ubuntu20.04 | ||
|
||
# Not required, but speeds up builds | ||
githubToken: ${{ github.token }} | ||
|
||
# The shell to run commands with in the container | ||
shell: /bin/sh | ||
|
||
# Produce a binary artifact and place it in the mounted volume | ||
run: | | ||
apt-get update -q -y | ||
apt-get install -q -y build-essential git gcc valgrind cmake | ||
uname -a;id;uname -m;lscpu | grep Endian | ||
mkdir build && cd build | ||
cmake .. && make -j && make check |
Oops, something went wrong.