File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7575
7676 - name : Run PHPUnit tests
7777 run : composer test
78+
79+ windows :
80+ name : Windows - PHP ${{ matrix.php-version }} ${{ matrix.ts }} ${{ matrix.arch }}
81+ needs : get-windows-matrix
82+ runs-on : ${{ matrix.os }}
83+ strategy :
84+ fail-fast : false
85+ matrix : ${{ fromJson(needs.get-windows-matrix.outputs.matrix) }}
86+ steps :
87+ - name : Checkout
88+ uses : actions/checkout@v5
89+
90+ - name : Build the extension
91+ uses : php/php-windows-builder/extension@v1
92+ with :
93+ php-version : ${{ matrix.php-version }}
94+ arch : ${{ matrix.arch }}
95+ ts : ${{ matrix.ts }}
96+ args : --enable-ds
97+
98+ get-windows-matrix :
99+ runs-on : ubuntu-latest
100+ outputs :
101+ matrix : ${{ steps.extension-matrix.outputs.matrix }}
102+ steps :
103+ - name : Checkout
104+ uses : actions/checkout@v5
105+
106+ - name : Get the extension matrix
107+ id : extension-matrix
108+ uses : php/php-windows-builder/extension-matrix@v1
109+ with :
110+ php-version-list : ' 8.2, 8.3, 8.4, 8.5'
Original file line number Diff line number Diff line change 11# Native Data Structures for PHP
22
33[ ![ Build Status] ( https://github.com/php-ds/ext-ds/workflows/CI/badge.svg )] ( https://github.com/php-ds/ext-ds/actions?query=workflow%3A%22CI%22+branch%3Amaster )
4- [ ![ Build status] ( https://ci.appveyor.com/api/projects/status/9w0xitp3q04hdu1d?svg=true )] ( https://ci.appveyor.com/project/rtheunissen/ext-ds )
54[ ![ PECL] ( https://img.shields.io/badge/PECL-2.0.0-blue.svg )] ( https://pecl.php.net/package/ds )
65
76A PHP language extension that provides specialized data structures as efficient alternatives to the PHP array.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -26,66 +26,49 @@ if (PHP_DS != "no") {
2626
2727 ds_src ( "/ds" ,
2828 [
29- "ds_deque.c" ,
30- "ds_vector.c" ,
29+ "ds_heap.c" ,
3130 "ds_htable.c" ,
32- "ds_set.c" ,
3331 "ds_map.c" ,
34- "ds_stack.c" ,
35- "ds_priority_queue.c" ,
36- "ds_queue.c" ,
32+ "ds_seq.c" ,
33+ "ds_set.c" ,
3734 ] ) ;
3835
3936 ds_src ( "/php/objects" ,
4037 [
41- "php_deque.c" ,
42- "php_vector.c" ,
38+ "php_heap.c" ,
4339 "php_map.c" ,
4440 "php_pair.c" ,
45- "php_priority_queue .c" ,
41+ "php_seq .c" ,
4642 "php_set.c" ,
47- "php_stack.c" ,
48- "php_queue.c" ,
4943 ] ) ;
5044
5145 ds_src ( "/php/iterators" ,
5246 [
53- "php_vector_iterator.c" ,
54- "php_deque_iterator.c" ,
55- "php_set_iterator.c" ,
56- "php_map_iterator.c" ,
57- "php_stack_iterator.c" ,
47+ "php_heap_iterator.c" ,
5848 "php_htable_iterator.c" ,
59- "php_priority_queue_iterator.c" ,
60- "php_queue_iterator.c" ,
49+ "php_map_iterator.c" ,
50+ "php_seq_iterator.c" ,
51+ "php_set_iterator.c" ,
6152 ] ) ;
6253
6354 ds_src ( "/php/handlers" ,
6455 [
6556 "php_common_handlers.c" ,
66- "php_vector_handlers.c" ,
67- "php_deque_handlers.c" ,
68- "php_set_handlers.c" ,
57+ "php_heap_handlers.c" ,
6958 "php_map_handlers.c" ,
70- "php_stack_handlers.c" ,
7159 "php_pair_handlers.c" ,
72- "php_priority_queue_handlers .c" ,
73- "php_queue_handlers .c" ,
60+ "php_seq_handlers .c" ,
61+ "php_set_handlers .c" ,
7462 ] ) ;
7563
7664 ds_src ( "/php/classes" ,
7765 [
78- "php_hashable_ce.c" ,
79- "php_collection_ce.c" ,
80- "php_sequence_ce.c" ,
81- "php_vector_ce.c" ,
82- "php_deque_ce.c" ,
83- "php_set_ce.c" ,
66+ "php_heap_ce.c" ,
67+ "php_key_ce.c" ,
8468 "php_map_ce.c" ,
85- "php_stack_ce.c" ,
8669 "php_pair_ce.c" ,
87- "php_priority_queue_ce .c" ,
88- "php_queue_ce .c" ,
70+ "php_seq_ce .c" ,
71+ "php_set_ce .c" ,
8972 ] ) ;
9073
9174 ADD_EXTENSION_DEP ( 'ds' , 'spl' ) ;
You can’t perform that action at this time.
0 commit comments