Skip to content

Commit b4989c6

Browse files
committed
New CI using Github Actions
1 parent c220f4b commit b4989c6

3 files changed

Lines changed: 26 additions & 16 deletions

File tree

.github/Dockerfile.CI

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM ubuntu:20.04
2+
3+
# Ubuntu 20.04 timezone fix
4+
ENV TZ=UTC
5+
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
6+
7+
RUN apt-get update && apt-get install --no-install-recommends -y build-essential libgl1-mesa-dev libsdl2-dev libvorbis-dev libfreetype6-dev mingw-w64
8+
9+
RUN mkdir -p /staging/openarena
10+
11+
COPY . /staging/openarena
12+
13+
RUN cd /staging/openarena && \
14+
./travis-ci-build.sh

.github/workflows/main.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Build
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout repo
10+
uses: actions/checkout@v2
11+
- name: Build it
12+
run: docker build . -f .github/Dockerfile.CI -t openarena_test

.travis.yml

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

0 commit comments

Comments
 (0)