2023-12-05 18:11:22 +00:00
|
|
|
name: Build
|
2023-11-17 15:45:32 +00:00
|
|
|
on: [pull_request]
|
2019-11-14 18:40:06 +00:00
|
|
|
jobs:
|
2023-12-05 17:49:54 +00:00
|
|
|
build-mac:
|
|
|
|
name: Build Mac UI
|
|
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Make
|
|
|
|
working-directory: OSBindings/Mac
|
|
|
|
run: xcodebuild CODE_SIGN_IDENTITY=-
|
2023-12-05 17:41:43 +00:00
|
|
|
build-sdl:
|
|
|
|
name: Build SDL UI
|
2019-11-14 18:40:06 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-12-05 17:42:30 +00:00
|
|
|
- name: Checkout
|
2023-12-05 17:44:01 +00:00
|
|
|
uses: actions/checkout@v4
|
2019-11-14 18:50:03 +00:00
|
|
|
- name: Install dependencies
|
2023-12-05 17:44:37 +00:00
|
|
|
run: |
|
|
|
|
sudo apt-get --allow-releaseinfo-change update
|
|
|
|
sudo apt-get --fix-missing install gcc-10 libsdl2-dev scons
|
2019-11-14 18:50:03 +00:00
|
|
|
- name: Make
|
2020-06-29 01:55:15 +00:00
|
|
|
working-directory: OSBindings/SDL
|
|
|
|
run: scons -j$(nproc --all)
|