-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install haulable, and create github workflow for building phar and ex…
…ecutables
- Loading branch information
Kathryn Anne S Tan
committed
May 2, 2024
1 parent
e7e7285
commit 6521181
Showing
4 changed files
with
333 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Run Builds | ||
|
||
on: [push] | ||
|
||
jobs: | ||
tests: | ||
name: Run Builds | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '8.2' | ||
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv | ||
coverage: none | ||
|
||
- name: Run composer install | ||
run: composer install -n --prefer-dist | ||
|
||
- name: Run phar build | ||
run: php dockerfile-laravel app:build dockerfile-laravel --build-version=1.0.4 | ||
|
||
- name: Run windows builds | ||
run: vendor/bin/haulable builds/dockerfile-laravel --platform="All Platforms" | ||
|
||
- name: Check files created | ||
run: ls -l | ||
|
||
- name: Move builds into the builds folder | ||
run: mv windows_x64 builds/windows_x64 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,15 +19,15 @@ | |
"email": "[email protected]" | ||
} | ||
], | ||
"require": {}, | ||
"require-dev": { | ||
"configured/haulable": "^0.4.0", | ||
"illuminate/view": "^10.0", | ||
"laravel-zero/framework": "^10.2", | ||
"laravel/pint": "^1.13", | ||
"mockery/mockery": "^1.6", | ||
"nunomaduro/termwind": "^1.15.1", | ||
"pestphp/pest": "^2.22", | ||
"illuminate/view": "^10.0", | ||
"laravel-zero/framework": "^10.2", | ||
"phpspec/php-diff": "^1.1", | ||
"nunomaduro/termwind": "^1.15.1" | ||
"phpspec/php-diff": "^1.1" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
|
Oops, something went wrong.