mirror of
https://github.com/bitdefender/bddisasm.git
synced 2025-01-07 13:50:53 +00:00
build: Try to build on macos
This commit is contained in:
parent
357b95d652
commit
afc3e94801
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
@ -3,7 +3,7 @@ name: C/C++ CI
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '*.md'
|
- '*.md'
|
||||||
- 'docs/**'
|
- 'docs/**'
|
||||||
- 'isagenerator/**'
|
- 'isagenerator/**'
|
||||||
@ -12,7 +12,7 @@ on:
|
|||||||
- 'LICENSE'
|
- 'LICENSE'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '*.md'
|
- '*.md'
|
||||||
- 'docs/**'
|
- 'docs/**'
|
||||||
- 'isagenerator/**'
|
- 'isagenerator/**'
|
||||||
@ -21,7 +21,7 @@ on:
|
|||||||
- 'LICENSE'
|
- 'LICENSE'
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Linux-build:
|
Linux-build:
|
||||||
@ -97,7 +97,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
files: 'x64-windows-release.zip;x86-windows-release.zip'
|
files: 'x64-windows-release.zip;x86-windows-release.zip'
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
Windows-cmake-build:
|
Windows-cmake-build:
|
||||||
|
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
@ -117,6 +117,21 @@ jobs:
|
|||||||
ninja
|
ninja
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
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:
|
Code-checks:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user