-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: More information on the README.md
- Loading branch information
Showing
2 changed files
with
49 additions
and
2 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 |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Lazarus | ||
uses: gcarreno/[email protected].34 | ||
uses: gcarreno/[email protected].35 | ||
with: | ||
lazarus-version: ${{ matrix.lazarus-versions }} | ||
- name: Build the Main Application | ||
|
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,3 +1,50 @@ | ||
# lazarus-with-github-actions | ||
|
||
Testing grounds for the GitHub action setup-lazarus | ||
Testing grounds for the GitHub action [setup-lazarus](https://github.com/gcarreno/setup-lazarus) | ||
|
||
**Note**: For supported Lazarus versions and the associated FPC version consult the link above. | ||
|
||
## Example usage | ||
|
||
```yaml | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: gcarreno/setup-lazarus@v1 | ||
with: | ||
lazarus-version: 'dist' | ||
- run: lazbuild YourTestProject.lpi | ||
- run: YourTestProject | ||
``` | ||
## Matrix example usage | ||
```yaml | ||
name: build | ||
|
||
on: | ||
pull_request: | ||
push: | ||
paths-ignore: | ||
- "README.md" | ||
branches: | ||
- master | ||
- releases/* | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.operating-system }} | ||
strategy: | ||
matrix: | ||
operating-system: [ubuntu-18.04,ubuntu-latest] | ||
lazarus-versions: [dist, 2.0.6] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Lazarus | ||
uses: gcarreno/[email protected] | ||
with: | ||
lazarus-version: ${{ matrix.lazarus-versions }} | ||
- name: Build the test app | ||
run: lazbuild "tests/testconsoleapplication.lpi" | ||
- name: Run the test app | ||
run: bin/testconsoleapplication "--all" "--format=plain" | ||
``` |