Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuHy committed Jan 7, 2024
1 parent 767c864 commit 60c32dd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@ jobs:
working-directory: ${{github.workspace}}/build/test
run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure

- name: Configure CMake with MLIR
run: PKG_CONFIG_PATH=/usr/local/opt/icu4c/lib/pkgconfig cmake -B ${{github.workspace}}/build3 -DCMAKE_BUILD_TYPE=${{matrix.mode}} -G Ninja -DUSE_CCACHE=ON -DPSCM_ENABLE_MLIR_CODEGEN=ON

- name: Build with MLIR
run: cmake --build ${{github.workspace}}/build3 --config ${{matrix.mode}} --verbose -j

- name: Test with MLIR
working-directory: ${{github.workspace}}/build3/test
run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure

- name: Configure CMake with C++20 Modules
run: PKG_CONFIG_PATH=/usr/local/opt/icu4c/lib/pkgconfig CXX=/usr/local/opt/llvm/bin/clang++ CC=/usr/local/opt/llvm/bin/clang cmake -B ${{github.workspace}}/build2 -DCMAKE_BUILD_TYPE=${{matrix.mode}} -DCMAKE_MAKE_PROGRAM=/usr/local/bin/ninja -G Ninja -DUSE_CCACHE=ON -DPSCM_USE_CXX20_MODULES=ON

Expand Down

0 comments on commit 60c32dd

Please sign in to comment.