From 0dc916f79dd34aee73eaf1e8b914b2fb407005e0 Mon Sep 17 00:00:00 2001 From: Sunho Kim Date: Wed, 5 Aug 2020 19:21:14 +0900 Subject: [PATCH] Optimize in CI --- .github/workflows/build.yml | 2 +- Makefile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 39e6ae5554..836ba1b5d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/Makefile b/Makefile index 017999468c..08738db218 100644 --- a/Makefile +++ b/Makefile @@ -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