Skip to content

Commit

Permalink
testing github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Lihis committed Jan 7, 2025
1 parent e20356b commit 66fbb42
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 31 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build and Test

on:
push:
branches: [ "master", "migrate-ci" ]
pull_request:
branches: [ "master" ]

env:
BUILD_TYPE: Release

jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
distro: [ "ubuntu", "fedora", "archlinux" ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -yq python3
- name: Build and Test
run: scripts/docker/docker_travis.sh "${{ matrix.distro }}_latest.docker"
30 changes: 0 additions & 30 deletions scripts/docker/arch_latest.docker

This file was deleted.

22 changes: 22 additions & 0 deletions scripts/docker/archlinux_latest.docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM archlinux:base

RUN pacman -Syy --noconfirm \
core/gcc \
extra/llvm \
extra/clang \
make \
ninja \
curl \
extra/boost \
extra/cmake \
extra/ffmpeg \
extra/bullet \
community/glm \
extra/openal \
extra/sdl2 \
extra/qt5-base \
extra/freetype2

# FIXME: lcov

CMD ["/bin/bash"]
3 changes: 2 additions & 1 deletion scripts/docker/ubuntu_latest.docker
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN apt-get update \
libqt5opengl5-dev \
libfreetype6-dev \
iwyu \
qt5-default
qtbase5-dev \
qt5-qmake

CMD ["/bin/bash"]

0 comments on commit 66fbb42

Please sign in to comment.