forked from Isopod/pascal-language-server
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test it builds with FPC / Lazarus in our Docker images
- Loading branch information
1 parent
b3bec6b
commit a7af0c1
Showing
3 changed files
with
67 additions
and
0 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,12 @@ | ||
# These are supported funding model platforms | ||
|
||
github: [castle-engine, michaliskambi] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] | ||
patreon: castleengine # Replace with a single Patreon username | ||
open_collective: castle-engine # Replace with a single Open Collective username | ||
# ko_fi: # Replace with a single Ko-fi username | ||
# tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
# liberapay: # Replace with a single Liberapay username | ||
# issuehunt: # Replace with a single IssueHunt username | ||
# otechie: # Replace with a single Otechie username | ||
# custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] |
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,10 @@ | ||
# Check that GitHub Actions use latest versions of plugins. | ||
# See https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot . | ||
|
||
version: 2 | ||
updates: | ||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
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,45 @@ | ||
# ---------------------------------------------------------------------------- | ||
# GitHub Actions workflow to test building pasls (server). | ||
# | ||
# To check | ||
# - whether it builds, | ||
# - whether the FPC and Lazarus versions in our | ||
# Docker image are sufficient. | ||
# (Right now, IdentComplIncludeKeywords requires Lazarus >= 3.0.0). | ||
# | ||
# This uses GitHub-hosted runners, that is: you don't need to set up any server | ||
# infrastructure, GitHub provides it all for free for open-source projects. | ||
# | ||
# See docs: | ||
# - https://castle-engine.io/github_actions | ||
# - https://docs.github.com/en/actions | ||
# ---------------------------------------------------------------------------- | ||
|
||
name: Build | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build-in-docker: | ||
name: Build (Docker) | ||
runs-on: ubuntu-latest | ||
container: kambi/castle-engine-cloud-builds-tools:cge-none | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Compile Server | ||
run: lazbuid server/pasls.lpi | ||
|
||
build: | ||
name: Build (Not Docker) | ||
strategy: | ||
matrix: | ||
operating-system: [windows-latest, ubuntu-latest, macos-latest] | ||
lazarus-versions: [stable, 3.0] | ||
runs-on: ${{ matrix.operating-system }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install FPC+Lazarus | ||
uses: gcarreno/[email protected] | ||
with: | ||
lazarus-version: ${{ matrix.lazarus-versions }} | ||
- name: Compile Server | ||
run: lazbuid server/pasls.lpi |