Skip to content

Commit

Permalink
Optimize in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sunho authored and frangarcj committed Aug 5, 2020
1 parent d47829c commit 0dc916f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build
run: c:\msys64\usr\bin\env MSYSTEM=MINGW64 c:\msys64\usr\bin\bash -lc "UNICORN_ARCHS=arm ./make.sh cross-win64"
run: c:\msys64\usr\bin\env MSYSTEM=MINGW64 c:\msys64\usr\bin\bash -lc "UNICORN_DEBUG=no UNICORN_ARCHS=arm ./make.sh cross-win64"
env:
HOME: ${{ runner.workspace }}/unicorn
CI: ON
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ MACOS_UNIVERSAL ?= no

ifeq ($(UNICORN_DEBUG),yes)
CFLAGS += -g
UNICORN_CFLAGS += -g
else
CFLAGS += -O3
UNICORN_CFLAGS += -O3
UNICORN_QEMU_FLAGS += --disable-debug-info
endif

Expand Down

0 comments on commit 0dc916f

Please sign in to comment.