Skip to content

Change ERROR to ERROR_TYPE to remove compile errors #242

Change ERROR to ERROR_TYPE to remove compile errors

Change ERROR to ERROR_TYPE to remove compile errors #242

Workflow file for this run

name: Compile
on: [push, pull_request]
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
include:
- os: macos-latest
SETUP: ./setup.sh
DOWNLOAD: brew install scons
SCONS_OPTIONS: -j3
- os: ubuntu-latest
SETUP: ./setup.sh
DOWNLOAD: sudo apt update && sudo apt-get install build-essential scons pkg-config
SCONS_OPTIONS: -j2
- os: windows-latest
SETUP: .\setup.bat
DOWNLOAD: python -m pip install scons==4.5
SCONS_OPTIONS: -j2
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
submodules: recursive
- name: Download Discord Game SDK
run: ${{matrix.SETUP}}
- name: Download Scons and other build dependencies
run: ${{matrix.DOWNLOAD}}
- name: Compile Godotcord
run: scons ${{matrix.SCONS_OPTIONS}}