Skip to content

Commit c9c56a1

Browse files
committed
WIP: testing different vanilla cpp ci and pypi with module building
1 parent 99937fe commit c9c56a1

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed
Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "win-build"
1+
name: "cpp-build"
22

33
on:
44
push:
@@ -18,13 +18,17 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020

21-
- name: Setup conda environment
22-
uses: conda-incubator/setup-miniconda@v2
23-
with:
24-
auto-update-conda: true
25-
python-version: 3.9.1
21+
# - name: Setup conda environment
22+
# uses: conda-incubator/setup-miniconda@v2
23+
# with:
24+
# auto-update-conda: true
25+
# python-version: 3.9.1
2626

2727
- name: Cmake Configure
28-
run: ${{github.workspace}}/cmake/config.bat
28+
run: |
29+
cd ${{github.workspace}}/src/diffCheck
30+
mkdir build
31+
cmake -S . -B build -A x64 -DBUILD_PYTHON_MODULE=OFF
32+
2933
- name: CMake Build
3034
run: ${{github.workspace}}/cmake/build.bat

.github/workflows/pypi-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ jobs:
3535
3636
- name: Build wheel
3737
run: |
38-
cd src/gh/diffCheck/
38+
cd ${{github.workspace}}/src/gh/diffCheck/
3939
python setup.py bdist_wheel
40-
cd ../../..
40+
cd ${{github.workspace}}
4141
4242
- name: Upload wheel
4343
uses: actions/upload-artifact@v2
4444
with:
4545
name: wheel
46-
path: src/gh/diffCheck/dist/
46+
path: ${{github.workspace}}/src/gh/diffCheck/dist/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<img src="./assets/logo/logo_pixelized_bwvioelt.png" width="150">
33
</p>
44
<p align="center">
5-
<img src="https://github.com/diffCheckOrg/diffCheck/actions/workflows/win-build.yml/badge.svg">
5+
<img src="https://github.com/diffCheckOrg/diffCheck/actions/workflows/cpp-build.yml/badge.svg">
66
<img src="https://github.com/diffCheckOrg/diffCheck/actions/workflows/gh-build.yml/badge.svg">
77
<img src="https://github.com/diffCheckOrg/diffCheck/actions/workflows/pypi-build.yml/badge.svg">
88
<img src="https://img.shields.io/pypi/v/diffCheck" href="https://pypi.org/project/diffCheck/">
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
@echo off
22
setlocal
33

4-
REM clean the build directory and reconfigure it
5-
rmdir /s /q build
6-
74
REM configure the project
85
cmake -S . -B build -A x64

0 commit comments

Comments
 (0)