mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-30 01:55:39 +00:00
38 lines
852 B
YAML
38 lines
852 B
YAML
|
name: Build then test
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ "master" ]
|
||
|
pull_request:
|
||
|
branches: [ "master" ]
|
||
|
|
||
|
jobs:
|
||
|
build-on-ubuntu:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
- name: Install dependencies
|
||
|
run: |
|
||
|
sudo apt-get install -y gcc g++ clang libpng-dev libjpeg-dev libmagick++-dev
|
||
|
sudo apt-get install -y libgraphicsmagick++-dev libfftw3-dev zlib1g-dev libheif-dev
|
||
|
- name: build
|
||
|
run: |
|
||
|
pushd examples
|
||
|
make clean
|
||
|
make mlinux
|
||
|
popd
|
||
|
|
||
|
build-on-macos:
|
||
|
runs-on: macos-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
- name: Install dependencies
|
||
|
run: |
|
||
|
brew install libheif libpng fftw libjpeg gcc zlib imagemagick automake openexr llvm
|
||
|
- name: build
|
||
|
run: |
|
||
|
pushd examples
|
||
|
make clean
|
||
|
make mmacos
|
||
|
popd
|