Skip to content

Commit

Permalink
Use GitLab
Browse files Browse the repository at this point in the history
  • Loading branch information
ollydev committed Aug 9, 2021
1 parent 32ce053 commit 81f4d1d
Show file tree
Hide file tree
Showing 7 changed files with 91 additions and 421 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
uses: ./
with:
cpu: ${{ matrix.config.cpu }}
laz-url: https://svn.freepascal.org/svn/lazarus/tags/lazarus_2_2_0_RC1/
fpc-url: https://svn.freepascal.org/svn/fpc/tags/release_3_2_2_rc1/
laz-branch: lazarus_2_2_0_RC1
fpc-branch: release_3_2_2_rc1

- name: Build Test
run: |
Expand Down
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Caches that are not in a week are [removed](https://github.com/actions/cache#cac
### Inputs

- `cpu`: CPU target to setup Lazarus for.
- `laz-url`: Lazarus source URL to install.
- `fpc-url`: FPC source URL to install.
- `laz-branch`: Lazarus (gitlab) branch to install
- `fpc-branch`: FPC (gitlab) branch to install

Supported CPU targets:
- `x86_64`: Windows, Linux, macOS
Expand Down Expand Up @@ -53,26 +53,24 @@ jobs:
- name: Linux 64
os: ubuntu-latest
cpu: x86_64

- name: AArch64
os: ubuntu-latest
cpu: aarch64
args: --cpu=aarch64

- name: MacOS 64
os: macos-latest
cpu: x86_64
args: --widgetset=cocoa

steps:
- uses: actions/[email protected]

- name: Install Lazarus
uses: ./
uses: ollydev/setup-lazarus-fpcup@v2
with:
cpu: ${{ matrix.config.cpu }}
laz-url: https://svn.freepascal.org/svn/lazarus/tags/lazarus_2_2_0_RC1/
fpc-url: https://svn.freepascal.org/svn/fpc/tags/release_3_2_2_rc1/
laz-branch: lazarus_2_2_0_rc1
fpc-branch: release_3_2_2_rc1

- name: Test Installation
if: matrix.config.name != 'AArch64' # AArch64 was cross compiled!
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ description: 'Setup Lazarus using fpcup'
inputs:
cpu:
required: true
laz-url:
laz-branch:
required: true
fpc-url:
fpc-branch:
required: true
runs:
using: 'node12'
Expand Down
Loading

0 comments on commit 81f4d1d

Please sign in to comment.