Skip to content

Commit 97d365e

Browse files
committed
add github actions job for simdjson
1 parent da414eb commit 97d365e

File tree

1 file changed

+34
-3
lines changed

1 file changed

+34
-3
lines changed

.github/workflows/linux_make.yml

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ on:
88

99
jobs:
1010
build:
11-
1211
runs-on: ubuntu-latest
13-
1412
steps:
1513
- uses: actions/checkout@v2
1614
- name: cmake
@@ -21,4 +19,37 @@ jobs:
2119
run: |
2220
cd ${{ github.workspace }}/build
2321
make install -j
24-
22+
build-system-simdjson:
23+
runs-on: ubuntu-latest
24+
container: ubuntu:22.04
25+
steps:
26+
- uses: actions/checkout@v2
27+
- name: install dependencies
28+
run: |
29+
apt update
30+
apt -y --no-install-recommends install build-essential cmake libsimdjson-dev
31+
- name: cmake
32+
run: |
33+
rm -rf ${{ github.workspace }}/build
34+
cmake -B ${{ github.workspace }}/build -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}
35+
- name: make
36+
run: |
37+
cd ${{ github.workspace }}/build
38+
make install -j
39+
build-source-simdjson:
40+
runs-on: ubuntu-latest
41+
steps:
42+
- uses: actions/checkout@v2
43+
- name: install simdjson
44+
uses: actions/checkout@v2
45+
with:
46+
repository: simdjson/simdjson
47+
path: src/simdjson
48+
- name: cmake
49+
run: |
50+
rm -rf ${{ github.workspace }}/build
51+
cmake -B ${{ github.workspace }}/build -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}
52+
- name: make
53+
run: |
54+
cd ${{ github.workspace }}/build
55+
make install -j

0 commit comments

Comments
 (0)