Skip to content

Commit

Permalink
[CI] Another try to make Ninja alive [10]...
Browse files Browse the repository at this point in the history
  • Loading branch information
DronCode committed Jan 22, 2024
1 parent 9b5c816 commit c7743b4
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,30 +82,30 @@ jobs:
cmake --build . --config MinSizeRel
# Build our project. TODO: Add support of Ninja build system!!!
# - name: Build RG3
# env:
# LLVM_DIR: ${{ github.workspace }}/llvm_repo/build/lib/cmake/llvm
# CLANG_DIR: ${{ github.workspace }}/llvm_repo/build/lib/cmake/clang
# BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
# Python3_ROOT_DIR: ${{ steps.install-python3.outputs.Python3_ROOT_DIR }}
# run: |
# mkdir build
# cmake -DCMAKE_BUILD_TYPE="MinSizeRel" -B build -G "Visual Studio 17 2022"
# cd build
# cmake --build . --config MinSizeRel
- name: Build RG3
env:
LLVM_DIR: ${{ github.workspace }}/llvm_repo/build/lib/cmake/llvm
CLANG_DIR: ${{ github.workspace }}/llvm_repo/build/lib/cmake/clang
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
Python3_ROOT_DIR: ${{ steps.install-python3.outputs.Python3_ROOT_DIR }}
run: |
mkdir build
cmake -DCMAKE_BUILD_TYPE="MinSizeRel" -B build -G "Visual Studio 17 2022"
cd build
cmake --build . --config MinSizeRel
# Make python packages (whl)

# Make dist folder with pyd & pyi files.
# - name: Create distribution package
# run: |
# mkdir dist
# mv PyBind/rg3py.pyi dist
# mv build/PyBind/MinSizeRel/rg3py.pyd dist
- name: Create distribution package
run: |
mkdir dist
mv PyBind/rg3py.pyi dist
mv build/PyBind/MinSizeRel/rg3py.pyd dist
# Upload artifacts. TODO: Upload whl artifacts too!
# - name: Upload RG3 artifacts
# uses: actions/upload-artifact@v2
# with:
# name: "RG3"
# path: dist
- name: Upload RG3 artifacts
uses: actions/upload-artifact@v2
with:
name: "RG3"
path: dist

0 comments on commit c7743b4

Please sign in to comment.