diff --git a/.github/workflows/bvt-appleclang.yml b/.github/workflows/bvt-appleclang.yml new file mode 100644 index 0000000..fa93bbb --- /dev/null +++ b/.github/workflows/bvt-appleclang.yml @@ -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 diff --git a/.github/workflows/pipeline-ci.yml b/.github/workflows/pipeline-ci.yml index f6d2dc0..17903bb 100644 --- a/.github/workflows/pipeline-ci.yml +++ b/.github/workflows/pipeline-ci.yml @@ -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 diff --git a/.github/workflows/pipeline-release.yml b/.github/workflows/pipeline-release.yml index 0f44de6..ba3ee90 100644 --- a/.github/workflows/pipeline-release.yml +++ b/.github/workflows/pipeline-release.yml @@ -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: