updating github actions to handle new makefile
@@ -4,6 +4,9 @@ on:
types: [assigned, opened, synchronize, reopened]
release:
types: [created]
+ push:
+ branches:
+ - premake
jobs:
build-linux:
@@ -22,7 +25,7 @@ jobs:
if: ${{matrix.static == 0}}
- run: ./scripts/setup_static_linux_sdl.sh
if: ${{matrix.static == 1}}
- - run: make MODE=release ARCH=64bit STATIC=${{matrix.static}}
+ - run: make MODE=release STATIC=${{matrix.static}}
- uses: actions/upload-artifact@v2
if: ${{matrix.static == 1}}
with:
@@ -46,7 +49,7 @@ jobs:
uses: actions/checkout@v2.0.0
- run: sudo xcode-select -switch /Applications/Xcode_11.app/Contents/Developer
- run: ./scripts/setup_static_mac_sdl.sh
- - run: make MIN_MAC_VERSION=10.12 STATIC=1 MODE=release ARCH=64bit
+ - run: make MIN_MAC_VERSION=10.12 STATIC=1
- uses: actions/upload-artifact@v2
with:
name: dome-macosx-x64
@@ -76,9 +79,9 @@ jobs:
- run: git fetch --prune --unshallow
- run: gcc -v
- - run: "make STATIC=1 WINDOW_MODE=windows EXENAME=dome ICON_OBJECT_FILE=assets/icon64.res MODE=release ARCH=64bit CC=gcc"
+ - run: "make STATIC=1 TARGET_NAME=dome CC=gcc"
if: ${{ (matrix.msystem == 'MINGW64') }}
- - run: "make STATIC=1 WINDOW_MODE=windows EXENAME=dome ICON_OBJECT_FILE=assets/icon32.res MODE=release ARCH=32bit CC=gcc"
+ - run: "make STATIC=1 TARGET_NAME=dome CC=gcc"
if: ${{ (matrix.msystem == 'MINGW32') }}
- uses: actions/upload-artifact@v2
if: ${{ (matrix.msystem == 'MINGW32') }}
