Skip to content

Commit

Permalink
Run BVT with AppleClang (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
mingxwa authored Aug 9, 2024
1 parent 8ca6582 commit 55ce488
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 7 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/bvt-appleclang.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
workflow_call:
inputs:
branch:
type: string
required: false

jobs:
bvt-appleclang:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ inputs.branch }}

- name: check compiler versions
run: |
clang --version
xcodebuild -version
- name: build and run test with AppleClang
run: |
cmake . -B build
cmake --build ./build -j8
cd ./build
ctest -j8
10 changes: 7 additions & 3 deletions .github/workflows/pipeline-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ env:
jobs:
run-bvt-gcc:
uses: ./.github/workflows/bvt-gcc.yml
name: run bvt with g++
name: Run BVT with GCC

run-bvt-clang:
uses: ./.github/workflows/bvt-clang.yml
name: run bvt with clang
name: Run BVT with Clang

run-bvt-msvc:
uses: ./.github/workflows/bvt-msvc.yml
name: run bvt with msvc
name: Run BVT with MSVC

run-bvt-appleclang:
uses: ./.github/workflows/bvt-appleclang.yml
name: Run BVT with AppleClang
15 changes: 11 additions & 4 deletions .github/workflows/pipeline-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,28 +39,35 @@ jobs:
run-bvt-gcc:
needs: prepare-release
name: run bvt with g++
name: Run BVT with GCC
uses: ./.github/workflows/bvt-gcc.yml
with:
branch: release/${{ github.event.inputs.version }}

run-bvt-clang:
needs: prepare-release
name: run bvt with clang
name: Run BVT with Clang
uses: ./.github/workflows/bvt-clang.yml
with:
branch: release/${{ github.event.inputs.version }}

run-bvt-msvc:
needs: prepare-release
name: run bvt with msvc
name: Run BVT with MSVC
uses: ./.github/workflows/bvt-msvc.yml
with:
branch: release/${{ github.event.inputs.version }}

run-bvt-appleclang:
needs: prepare-release
name: Run BVT with AppleClang
uses: ./.github/workflows/bvt-appleclang.yml
with:
branch: release/${{ github.event.inputs.version }}

draft-release:
runs-on: windows-latest
needs: [run-bvt-gcc, run-bvt-clang, run-bvt-msvc]
needs: [run-bvt-gcc, run-bvt-clang, run-bvt-msvc, run-bvt-appleclang]
steps:
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 55ce488

Please sign in to comment.