Fix formatting and add arm64 libraries #243
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}} |