forked from luciusDXL/TheForceEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (36 loc) · 887 Bytes
/
ubuntu-gcc.yml
File metadata and controls
44 lines (36 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Build TFE
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch: {}
env:
BUILD_TYPE: Release
jobs:
build:
name: Build
runs-on: ${{ matrix.runner }}
strategy:
fail-fast: false
matrix:
runner:
- ubuntu-latest
- ubuntu-24.04-arm
# - windows-latest
# - macos-latest
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
shell: bash
run: sudo apt-get update -qq && sudo apt-get install -y libsdl2-dev libsdl2-image-dev
- name: Configure cmake
shell: bash
run: |
cmake -B ./build \
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
-DENABLE_FORCE_SCRIPT=ON \
-DENABLE_EDITOR=ON
- name: Build
shell: bash
run: cmake --build ./build --config ${{env.BUILD_TYPE}}