1
0
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:
Anichitei Ionel-Cristinel 2024-02-23 12:21:11 +02:00
parent 357b95d652
commit afc3e94801
No known key found for this signature in database
GPG Key ID: D61EBA6823F1172E

View File

@ -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