Skip to content

Commit

Permalink
Activate linux workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemanga committed Oct 14, 2023
1 parent 17eda07 commit 669be46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/c-cpp-linux-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Linux x64

on:
push:
branches: [ development ]
branches: [ DIRT ]
pull_request:
branches: [ development ]
branches: [ DIRT ]

jobs:
build:
Expand All @@ -18,11 +18,9 @@ jobs:
- name: update Apt
run: sudo apt-get update
- name: install-dependencies
run: sudo apt-get install libsdl2-dev libsdl2-image-dev liblcms2-dev libfreetype6-dev libnode-dev libfuse2
- name: configure
run: ./configure
run: sudo apt-get install libsdl2-dev libfuse2 arm-none-eabi-gcc
- name: make
run: make -j 4
run: ./plugins/build.sh
- name: package
run: ./package
- name: Archive production artifacts
Expand Down
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ ifeq ($(OS),Windows_NT)
PKGCONFIG = pkg-config
PROJECT = gate.exe

LN_FLAGS += -lv8 -lv8_libplatform
CPP_FLAGS += -DSCRIPT_ENGINE_V8
CPP_FLAGS += -D__WINDOWS__

LN_FLAGS += -lopengl32
Expand Down Expand Up @@ -89,12 +87,10 @@ ifeq ($(BACKEND),SDL1)
CPP_FLAGS += -DUSE_SDL1
CPP_FLAGS += $(shell $(PKGCONFIG) --cflags sdl)
LN_FLAGS += $(shell $(PKGCONFIG) --libs sdl)
LN_FLAGS += -lSDL_image
else
CPP_FLAGS += -DUSE_SDL2
CPP_FLAGS += $(shell $(PKGCONFIG) --cflags sdl2)
LN_FLAGS += $(shell $(PKGCONFIG) --libs sdl2)
LN_FLAGS += -lSDL2_image
endif

CPP_FLAGS += -DNO_FREETYPE
Expand Down

0 comments on commit 669be46

Please sign in to comment.