File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 63
63
- name : Install dependencies
64
64
run : composer update --prefer-dist --no-interaction
65
65
66
+ - name : Info
67
+ run : |
68
+ php info.php
69
+ php info.php >> $GITHUB_STEP_SUMMARY
70
+
66
71
- name : Run test suite
67
72
env :
68
73
DUCKDB_PHP_LIB_DIRECTORY : ${{ inputs.lib-path }}
@@ -114,8 +119,6 @@ jobs:
114
119
with :
115
120
path : lib_nightly
116
121
key : lib_nightly-${{ steps.date.outputs.date }}
117
- restore-keys : |
118
- lib_nightly
119
122
120
123
- name : Get libraries
121
124
if : ${{ steps.libraries-cache.outputs.cache-hit != 'true' }}
Original file line number Diff line number Diff line change
1
+ <?php
2
+ require_once __DIR__ . '/vendor/autoload.php ' ;
3
+ use Saturio \DuckDB \Exception \NotSupportedException ;
4
+ use Saturio \DuckDB \FFI \FindLibrary ;
5
+
6
+ echo php_uname ();
7
+ echo "\n\n\n" ;
8
+
9
+ $ os = php_uname ('s ' );
10
+ $ machine = php_uname ('m ' );
11
+
12
+ printf ("Os: %s, Machine: %s \n\n\n" , $ os , $ machine );
13
+ try {
14
+ printf ("Header: %s \nLib path: %s \n" , FindLibrary::headerPath (), FindLibrary::libPath ());
15
+ } catch (NotSupportedException $ e ) {
16
+ echo $ e ->getMessage ();
17
+ }
You can’t perform that action at this time.
0 commit comments