-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from MontealegreLuis/variadic-params-visibility…
…-constants Variadic & By Reference parameters
- Loading branch information
Showing
237 changed files
with
2,025 additions
and
1,744 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
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,41 @@ | ||
name: Publish | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
name: Publish PHAR file | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: "Checkout project" | ||
uses: actions/checkout@v1 | ||
|
||
- name: "Install PHP with extensions" | ||
uses: "shivammathur/setup-php@v2" | ||
with: | ||
php-version: "7.2" | ||
extensions: imagick | ||
ini-values: memory_limit=-1, phar.readonly=Off | ||
tools: composer:v1 | ||
|
||
- name: "Install dependencies with composer" | ||
run: | | ||
sudo apt-get install graphviz | ||
composer install --optimize-autoloader --prefer-dist --no-interaction --no-progress --no-suggest --no-dev | ||
- name: "Build PHAR file" | ||
run: | | ||
wget https://github.com/box-project/box/releases/download/3.13.0/box.phar | ||
./box.phar compile -vv | ||
gpg -u [email protected] --detach-sign --output phuml.phar.asc phuml.phar | ||
- name: "Upload binaries to distribute phUML via PHIVE" | ||
uses: "svenstaro/upload-release-action@v2" | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: phuml.phar* | ||
tag: ${{ github.ref }} |
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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
vendor | ||
composer.lock | ||
composer.* | ||
build | ||
coverage.clover | ||
.php-cs-fixer.cache | ||
.phpunit.result.cache | ||
.couscous | ||
box.phar | ||
phuml.phar | ||
phuml.phar.pubkey | ||
phuml.phar.version |
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
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
This file was deleted.
Oops, something went wrong.
Binary file not shown.
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ ADD src/ src | |
RUN composer global require hirak/prestissimo --no-plugins --no-scripts | ||
RUN composer install --optimize-autoloader --prefer-dist --no-progress --no-interaction --ignore-platform-reqs | ||
|
||
FROM php:7.1.30-cli-alpine AS phuml | ||
FROM php:7.2.34-cli-alpine3.12 AS phuml | ||
MAINTAINER Luis Montealegre <[email protected]> | ||
|
||
RUN apk add --update --no-cache autoconf g++ pkgconfig imagemagick imagemagick-dev make ttf-freefont graphviz \ | ||
|
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
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
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
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
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
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
FROM ubuntu:xenial | ||
FROM php:7.2.34-cli-alpine3.12 | ||
|
||
RUN apk add --update --no-cache autoconf g++ pkgconfig imagemagick imagemagick-dev make ttf-freefont graphviz \ | ||
&& printf "\n" | pecl install imagick \ | ||
&& echo "extension=imagick.so" >> /usr/local/etc/php/php.ini | ||
|
||
RUN apt-get update -y && apt-get install -y software-properties-common python-software-properties | ||
RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php | ||
RUN apt-get update -y && apt-get install -y git graphviz pkg-config libmagickwand-dev imagemagick php7.1 php7.1-cli php7.1-common php7.1-dev php7.1-xml php7.1-xdebug php7.1-imagick | ||
RUN mkdir -p /usr/src/phuml | ||
|
||
WORKDIR /usr/src/phuml |
Oops, something went wrong.