mirror of
https://github.com/bitdefender/bddisasm.git
synced 2024-12-31 18:30:54 +00:00
Merge pull request #85 from ianichitei/master
Various build improvements
This commit is contained in:
commit
8f95a2828d
37
.github/workflows/ci.yml
vendored
37
.github/workflows/ci.yml
vendored
@ -3,7 +3,7 @@ name: C/C++ CI
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths-ignore:
|
||||
paths-ignore:
|
||||
- '*.md'
|
||||
- 'docs/**'
|
||||
- 'isagenerator/**'
|
||||
@ -12,7 +12,7 @@ on:
|
||||
- 'LICENSE'
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
paths-ignore:
|
||||
paths-ignore:
|
||||
- '*.md'
|
||||
- 'docs/**'
|
||||
- 'isagenerator/**'
|
||||
@ -21,7 +21,7 @@ on:
|
||||
- 'LICENSE'
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
|
||||
|
||||
jobs:
|
||||
Linux-build:
|
||||
@ -30,21 +30,6 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install rapidjson
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: Tencent/rapidjson
|
||||
path: rapidjson
|
||||
- name: Build dependencies
|
||||
run: |
|
||||
cd rapidjson
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make -j$(nproc)
|
||||
sudo make install
|
||||
cd ..
|
||||
cd ..
|
||||
- name: Build all
|
||||
run: |
|
||||
mkdir build
|
||||
@ -112,7 +97,7 @@ jobs:
|
||||
with:
|
||||
files: 'x64-windows-release.zip;x86-windows-release.zip'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
||||
Windows-cmake-build:
|
||||
|
||||
runs-on: windows-latest
|
||||
@ -132,6 +117,20 @@ jobs:
|
||||
ninja
|
||||
cd -
|
||||
|
||||
Macos-build:
|
||||
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build all
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release
|
||||
make -j$(nproc)
|
||||
cd -
|
||||
|
||||
Code-checks:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -70,7 +70,7 @@ else ()
|
||||
-g3
|
||||
-gdwarf-4
|
||||
-grecord-gcc-switches
|
||||
-march=westmere)
|
||||
-march=native)
|
||||
|
||||
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
||||
list(APPEND BDDISASM_COMMON_COMPILE_OPTIONS
|
||||
|
Loading…
Reference in New Issue
Block a user