Skip to content

Commit 1e3c6f7

Browse files
authored
Merge pull request #360 from opcm/push-2022-01-21
2 parents 799a3f6 + bcfc446 commit 1e3c6f7

File tree

292 files changed

+1973
-6028
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

292 files changed

+1973
-6028
lines changed

.cirrus.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@ freebsd_instance:
22
image_family: freebsd-12-1
33

44
task:
5-
install_script: pkg install -y gmake
6-
script: gmake install prefix=.
5+
install_script: pkg install -y gmake cmake
6+
script:
7+
- cmake -B build -DCMAKE_INSTALL_PREFIX=.
8+
- cd build && gmake install

.github/workflows/ci-clang-scan.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,17 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: scan-build
17+
- name: Preparation
1818
run: |
19-
scan-build --exclude simdjson --status-bugs make -j
20-
make clean
19+
cd ${{ github.workspace }}/src
2120
git clone https://github.com/simdjson/simdjson.git
21+
cd ..
22+
- name: Configure CMake
23+
run: |
24+
cmake --version
25+
rm -rf ${{ github.workspace }}/build
26+
scan-build cmake -B ${{ github.workspace }}/build
27+
- name: Scan build
28+
run: |
29+
cd ${{ github.workspace }}/build
2230
scan-build --exclude simdjson --status-bugs make -j

.github/workflows/ci-cppcheck.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@ jobs:
1616
- uses: actions/checkout@v2
1717
- name: cppcheck_script
1818
run: |
19-
sh cppcheck.sh . `getconf _NPROCESSORS_ONLN`
2019
git clone https://github.com/simdjson/simdjson.git
21-
sh cppcheck.sh . `getconf _NPROCESSORS_ONLN`
20+
sh ${{ github.workspace }}/scripts/cppcheck.sh . `getconf _NPROCESSORS_ONLN`

.github/workflows/ci-gcc10.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,24 @@ jobs:
1010
build:
1111

1212
runs-on: ci-gcc10
13-
if: ${{ github.repository != 'opcm/pcm' }}
13+
if: ${{ github.repository != 'opcm/pcm' }}
1414

1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: make
17+
- name: Preparation
1818
run: |
19-
g++ --version
20-
make install prefix=. -j
21-
make clean
19+
cd ${{ github.workspace }}/src
2220
git clone https://github.com/simdjson/simdjson.git
23-
make install prefix=. -j
21+
cd ..
22+
- name: Configure CMake
23+
run: |
24+
cmake --version
25+
rm -rf ${{ github.workspace }}/build
26+
cmake -B ${{ github.workspace }}/build -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/build
27+
- name: Build and Install
28+
run: |
29+
g++ --version
30+
cd ${{ github.workspace }}/build
31+
make install -j$(nproc)
32+
- name: Diagnostic
33+
run: date

.github/workflows/ci-gcc48.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,23 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: make
17+
- name: Preparation
1818
run: |
19-
g++ --version
20-
make install prefix=. -j
21-
make clean
19+
cd ${{ github.workspace }}/src
2220
git clone https://github.com/simdjson/simdjson.git
23-
make install prefix=. -j
24-
21+
cd ..
22+
- name: Configure CMake
23+
run: |
24+
cmake --version
25+
rm -rf ${{ github.workspace }}/build && mkdir ${{ github.workspace }}/build
26+
cd ${{ github.workspace }}/build
27+
cmake -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/build ..
28+
- name: Build
29+
run: |
30+
g++ --version
31+
cd ${{ github.workspace }}/build
32+
make -j$(nproc)
33+
- name: Install
34+
run: |
35+
cd ${{ github.workspace }}/build
36+
make install -j$(nproc)

.github/workflows/ci-gcc5.yml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,27 @@ jobs:
1010
build:
1111

1212
runs-on: ci-gcc5
13-
if: ${{ github.repository != 'opcm/pcm' }}
13+
if: ${{ github.repository != 'opcm/pcm' }}
1414

1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: make
17+
- name: Preparation
1818
run: |
19-
g++ --version
20-
make install prefix=. -j
21-
make clean
19+
cd ${{ github.workspace }}/src
2220
git clone https://github.com/simdjson/simdjson.git
23-
make install prefix=. -j
21+
cd ..
22+
- name: Configure CMake
23+
run: |
24+
cmake --version
25+
rm -rf ${{ github.workspace }}/build && mkdir ${{ github.workspace }}/build
26+
cd ${{ github.workspace }}/build
27+
cmake -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/build ..
28+
- name: Build
29+
run: |
30+
g++ --version
31+
cd ${{ github.workspace }}/build
32+
make -j$(nproc)
33+
- name: Install
34+
run: |
35+
cd ${{ github.workspace }}/build
36+
make install -j$(nproc)

.github/workflows/ci-gcc7.yml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,29 @@ jobs:
1010
build:
1111

1212
runs-on: ci-gcc7
13-
if: ${{ github.repository != 'opcm/pcm' }}
13+
if: ${{ github.repository != 'opcm/pcm' }}
1414

1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: make
17+
- name: Preparation
1818
run: |
19-
g++ --version
20-
make install prefix=. -j
21-
make clean
19+
cd ${{ github.workspace }}/src
2220
git clone https://github.com/simdjson/simdjson.git
23-
make install prefix=. -j
21+
cd ..
22+
- name: Configure CMake
23+
run: |
24+
cmake --version
25+
rm -rf ${{ github.workspace }}/build && mkdir ${{ github.workspace }}/build
26+
cd ${{ github.workspace }}/build
27+
cmake -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/build ..
28+
- name: Build
29+
run: |
30+
g++ --version
31+
cd ${{ github.workspace }}/build
32+
make -j$(nproc)
33+
- name: Install
34+
run: |
35+
cd ${{ github.workspace }}/build
36+
make install -j$(nproc)
37+
- name: Diagnostic
38+
run: date

.github/workflows/ci-gcc9.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,18 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: make
17+
- name: Preparation
1818
run: |
19-
g++ --version
20-
make install prefix=. -j
21-
make clean
19+
cd ${{ github.workspace }}/src
2220
git clone https://github.com/simdjson/simdjson.git
23-
make install prefix=. -j
21+
cd ..
22+
- name: Configure CMake
23+
run: |
24+
cmake --version
25+
rm -rf ${{ github.workspace }}/build
26+
cmake -B ${{ github.workspace }}/build -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/build
27+
- name: Build and Install
28+
run: |
29+
g++ --version
30+
cd ${{ github.workspace }}/build
31+
make install -j$(nproc)
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: kw-linux-report
2+
3+
on: [workflow_dispatch, workflow_call]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ci-kw-linux
9+
if: ${{ github.repository != 'opcm/pcm' }}
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: kw
14+
run: |
15+
git clone https://github.com/simdjson/simdjson.git
16+
ci-kw-linux.sh "echo No Preparation for make" "make -j"
17+
18+
- name: kw-report
19+
run: |
20+
ci-kw-linux-report.sh
21+
22+
- name: upload-artifact
23+
uses: actions/upload-artifact@v2
24+
with:
25+
name: kw-linux-report-${{ github.sha }}
26+
path: kw_report.txt

.github/workflows/ci-kw-linux.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: kw-linux
2+
3+
on:
4+
push:
5+
branches: [ '**' ]
6+
pull_request:
7+
branches: [ '**' ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ci-kw-linux
13+
if: ${{ github.repository != 'opcm/pcm' }}
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: kw
18+
run: |
19+
cd src
20+
git clone https://github.com/simdjson/simdjson.git
21+
cd ..
22+
mkdir build
23+
cd build
24+
cmake ..
25+
ci-kw-linux.sh "echo No Preparation" "make -j"

0 commit comments

Comments
 (0)