Skip to content

Commit

Permalink
Add support for GitHub Actions. Remove Travis CI integration
Browse files Browse the repository at this point in the history
  • Loading branch information
veikkos committed Dec 12, 2020
1 parent 5526ca5 commit bb88c8d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 15 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build

on: [push]

env:
BUILD_TYPE: Release

jobs:
build:
strategy:
matrix:
os: ["ubuntu-latest"]

runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v2

- name: Install dependencies (Ubuntu)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install libsdl2-dev fpc
git clone https://github.com/ev1313/Pascal-SDL-2-Headers
- name: Build
run: fpc -Mtp -Fu./Pascal-SDL-2-Headers/ SJ3.PAS

defaults:
run:
shell: bash
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

0 comments on commit bb88c8d

Please sign in to comment.