Skip to content

Commit bb88c8d

Browse files
committed
Add support for GitHub Actions. Remove Travis CI integration
1 parent 5526ca5 commit bb88c8d

File tree

2 files changed

+31
-15
lines changed

2 files changed

+31
-15
lines changed

.github/workflows/build.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build
2+
3+
on: [push]
4+
5+
env:
6+
BUILD_TYPE: Release
7+
8+
jobs:
9+
build:
10+
strategy:
11+
matrix:
12+
os: ["ubuntu-latest"]
13+
14+
runs-on: ${{matrix.os}}
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
19+
- name: Install dependencies (Ubuntu)
20+
if: runner.os == 'Linux'
21+
run: |
22+
sudo apt-get update
23+
sudo apt-get install libsdl2-dev fpc
24+
git clone https://github.com/ev1313/Pascal-SDL-2-Headers
25+
26+
- name: Build
27+
run: fpc -Mtp -Fu./Pascal-SDL-2-Headers/ SJ3.PAS
28+
29+
defaults:
30+
run:
31+
shell: bash

.travis.yml

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

0 commit comments

Comments
 (0)