Skip to content

Commit 99e2d87

Browse files
replace travis with github action
1 parent 89307ee commit 99e2d87

File tree

2 files changed

+30
-87
lines changed

2 files changed

+30
-87
lines changed

.github/workflow/workflow.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: build
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
jobs:
8+
build:
9+
runs-on: ${{ matrix.operating-system }}
10+
strategy:
11+
matrix:
12+
operating-system: [windows-latest,ubuntu-latest,macos-latest]
13+
lazarus-versions: [stable]
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Install Lazarus
17+
uses: gcarreno/[email protected]
18+
with:
19+
lazarus-version: ${{ matrix.lazarus-versions }}
20+
include-packages: "Synapse 40.1"
21+
- name: Build the Main Application
22+
if: ${{ matrix.operating-system != 'macos-latest' }}
23+
run: lazbuild -B "source/project/tracker_editor/trackereditor.lpi"
24+
- name: Build the Main Application (macOS)
25+
if: ${{ matrix.operating-system == 'macos-latest' }}
26+
run: lazbuild -B --ws=cocoa "source/project/tracker_editor/trackereditor.lpi"
27+
- name: Build the Unit Tests Application
28+
run: lazbuild -B "source/project/unit_test/tracker_editor_test.lpi"
29+
- name: Run the Unit Tests Application
30+
run: source ./scripts/travis_unit_test.sh

.travis.yml

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)