Initial Tests & CI (#5)

* Added awscrt_version() and test for it

* Added builder.json for CI

* Added github actions

* Added format-check.sh

* Force php5.6 on ubuntu

* Updated submodules
This commit is contained in:
Justin Boswell
2021-01-13 13:33:30 -08:00
committed by GitHub
parent 20309ea977
commit f090511213
17 changed files with 252 additions and 21 deletions
+15
View File
@@ -0,0 +1,15 @@
--TEST--
Version: Simple function call
--SKIPIF--
<?php
require_once(dirname(__FILE__) . '/skipif.inc');
?>
--FILE--
<?php
require_once(dirname(__FILE__) . '/common.inc');
echo awscrt_version();
?>
===DONE===
--EXPECT--
1.0.0-dev
+3
View File
@@ -0,0 +1,3 @@
<?php
// Common setup for tests:
?>
+3
View File
@@ -0,0 +1,3 @@
<?php
extension_loaded('awscrt') or die('awscrt is not available in this build');
?>