Files
tyra-linux/.github/workflows/compilation.yml
T
2021-11-22 09:14:44 -03:00

61 lines
1.3 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: ./src/unit_tests/
env:
TYRA: ${GITHUB_WORKSPACE}
run: |
make
- name: Compile cube project
working-directory: ./src/samples/cube/
env:
TYRA: ${GITHUB_WORKSPACE}
run: |
make
- name: Compile floors project
working-directory: ./src/samples/floors/
env:
TYRA: ${GITHUB_WORKSPACE}
run: |
make
- name: Compile dolphin project
working-directory: ./src/samples/dolphin/
env:
TYRA: ${GITHUB_WORKSPACE}
run: |
make