mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
d9c4191e8a
* This should fix an issue we have with unclosed strings. * Patching the fallback kernel. * Better guarding the code. * Patching the fallback.
38 lines
982 B
YAML
38 lines
982 B
YAML
name: Alpine Linux
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
ubuntu-build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/cache@v2
|
|
with:
|
|
path: dependencies/.cache
|
|
key: ${{ hashFiles('dependencies/CMakeLists.txt') }}
|
|
- name: start docker
|
|
run: |
|
|
docker run -w /src -dit --name alpine -v $PWD:/src alpine:latest
|
|
echo 'docker exec alpine "$@";' > ./alpine.sh
|
|
chmod +x ./alpine.sh
|
|
- name: install packages
|
|
run: |
|
|
./alpine.sh apk update
|
|
./alpine.sh apk add build-base cmake g++ linux-headers git bash
|
|
- name: cmake
|
|
run: |
|
|
./alpine.sh cmake -B build_for_alpine
|
|
- name: build
|
|
run: |
|
|
./alpine.sh cmake --build build_for_alpine
|
|
- name: test
|
|
run: |
|
|
./alpine.sh bash -c "cd build_for_alpine && ctest -E checkperf"
|