Skip to content

Commit 5de0508

Browse files
committed
Code cleanup
1 parent 24d1f62 commit 5de0508

File tree

3 files changed

+10
-190
lines changed

3 files changed

+10
-190
lines changed

.appveyor.yml

-134
This file was deleted.

.github/workflows/integration.yml

+10-55
Original file line numberDiff line numberDiff line change
@@ -2,67 +2,22 @@ name: CI
22
on: [push, pull_request]
33

44
jobs:
5-
PHP84-alpine:
6-
name: PHP 8.4 Alpine 3.19
7-
runs-on: ubuntu-latest
8-
steps:
9-
- name: "Checkout"
10-
uses: actions/checkout@v4
11-
12-
- name: "Build extension"
13-
run: "docker build -t simdjsontest -f docker_php8.4-alpine ."
14-
15-
- name: "Show"
16-
run: "docker run --rm --env SIMDJSON_HIGH_MEMORY_TESTS=1 simdjsontest php --ri simdjson"
17-
18-
PHP83-alpine:
19-
name: PHP 8.3 Alpine 3.17
20-
runs-on: ubuntu-latest
21-
steps:
22-
- name: "Checkout"
23-
uses: actions/checkout@v4
24-
25-
- name: "Build extension"
26-
run: "docker build -t simdjsontest -f docker_php8.3-alpine ."
27-
28-
- name: "Show"
29-
run: "docker run --rm --env SIMDJSON_HIGH_MEMORY_TESTS=1 simdjsontest php --ri simdjson"
30-
31-
PHP82-alpine:
32-
name: PHP 8.2 Alpine 3.16
33-
runs-on: ubuntu-latest
34-
steps:
35-
- name: "Checkout"
36-
uses: actions/checkout@v4
37-
38-
- name: "Build extension"
39-
run: "docker build -t simdjsontest -f docker_php8.2-alpine ."
40-
41-
- name: "Show"
42-
run: "docker run --rm --env SIMDJSON_HIGH_MEMORY_TESTS=1 simdjsontest php --ri simdjson"
43-
44-
PHP81-alpine:
45-
name: PHP 8.1 Alpine 3.15
46-
runs-on: ubuntu-latest
47-
steps:
48-
- name: "Checkout"
49-
uses: actions/checkout@v4
50-
51-
- name: "Build extension"
52-
run: "docker build -t simdjsontest -f docker_php8.1-alpine ."
53-
54-
- name: "Show"
55-
run: "docker run --rm --env SIMDJSON_HIGH_MEMORY_TESTS=1 simdjsontest php --ri simdjson"
56-
57-
PHP80-alpine:
58-
name: PHP 8.0 Alpine 3.12
5+
Alpine:
6+
strategy:
7+
matrix:
8+
php-version:
9+
- "8.0"
10+
- "8.1"
11+
- "8.2"
12+
- "8.3"
13+
- "8.4"
5914
runs-on: ubuntu-latest
6015
steps:
6116
- name: "Checkout"
6217
uses: actions/checkout@v4
6318

6419
- name: "Build extension"
65-
run: "docker build -t simdjsontest -f docker_php8.0-alpine ."
20+
run: "docker build -t simdjsontest -f docker_php${{ matrix.php-version }}-alpine ."
6621

6722
- name: "Show"
6823
run: "docker run --rm --env SIMDJSON_HIGH_MEMORY_TESTS=1 simdjsontest php --ri simdjson"

php_simdjson.h

-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ ZEND_TSRMLS_CACHE_EXTERN()
109109

110110
/** Defines 'class SimdJsonException' */
111111
extern PHP_SIMDJSON_API zend_class_entry *simdjson_exception_ce;
112-
extern PHP_SIMDJSON_API zend_class_entry *simdjson_value_error_ce;
113112

114113
/**
115114
* NOTE: Namespaces and references(&) and classes (instead of structs) are C++ only functionality.

0 commit comments

Comments
 (0)