Files
tyra-linux/.github/workflows/compilation.yml
T
2021-11-22 21:56:59 -03:00

61 lines
1.2 KiB
YAML

# Based on https://github.com/ps2dev/gsKit/blob/master/.github/workflows/compilation.yml
# Thanks fjtrujy!
name: CI
on:
push:
pull_request:
repository_dispatch:
types: [run_build]
jobs:
build:
runs-on: ubuntu-latest
container: ps2dev/ps2sdk-ports:latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
apk add build-base git
- name: Compile engine
working-directory: ./
env:
ZLIB: ${PS2SDK}/ports
LIBTIFF: ${PS2SDK}/ports
LIBJPEG: ${PS2SDK}/ports
LIBPNG: ${PS2SDK}/ports
TYRA: ${GITHUB_WORKSPACE}
run: |
make
- name: Compile unit test project
working-directory: ./
env:
TYRA: ${GITHUB_WORKSPACE}
run: |
make tests
- name: Compile cube project
working-directory: ./
env:
TYRA: ${GITHUB_WORKSPACE}
run: |
make cube
- name: Compile floors project
working-directory: ./
env:
TYRA: ${GITHUB_WORKSPACE}
run: |
make floors
- name: Compile dolphin project
working-directory: ./
env:
TYRA: ${GITHUB_WORKSPACE}
run: |
make dolphin