Skip to content

Commit 2d7df41

Browse files
committed
build too
1 parent d590eff commit 2d7df41

File tree

2 files changed

+38
-23
lines changed

2 files changed

+38
-23
lines changed

.github/workflows/conan.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,8 @@ jobs:
4848
fail-fast: false
4949
matrix:
5050
include:
51-
- target: aarch64-apple-darwin
52-
platform: macosx_arm64
53-
- target: x86_64-apple-darwin
54-
platform: macosx_x86_64
51+
- target: x86_64-windows
52+
platform: windows_x86_64
5553
steps:
5654
- name: Checkout Code
5755
uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 36 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Build + draft release
22

33
on:
4-
#pull_request:
4+
pull_request:
55
workflow_dispatch:
66

77
# (erodkin) this is needed to create the release, per https://github.com/softprops/action-gh-release/issues/236
@@ -53,33 +53,50 @@ jobs:
5353
with:
5454
ref: ${{ needs.prepare.outputs.sha }}
5555

56-
#- name: Install dependencies
57-
#uses: crazy-max/ghaction-chocolatey@v3
58-
#with:
59-
#args: install protoc pkgconfiglite
56+
- name: Install cmake
57+
uses: ssrobins/install-cmake@v1
58+
with:
59+
version: 3.27.2
60+
61+
- name: Install python
62+
uses: actions/setup-python@v5
63+
with:
64+
python-version: '3.12'
6065

6166
- name: Install Scoop
6267
uses: MinoruSekine/[email protected]
6368

64-
- name: install buf
65-
run: scoop install buf
69+
- name: install buf 'n stuff # the official way to install somehow lol
70+
run: scoop install buf ninja
6671

67-
- name: Setup build directory
68-
run: mkdir builds
72+
- name: install conan
73+
run: py -m pip install conan
74+
#- name: Install dependencies
75+
#uses: crazy-max/ghaction-chocolatey@v3
76+
#with:
77+
#args: install protoc pkgconfiglite
6978

70-
- name: list stuff
71-
run: ls ./boost/boost/libs
79+
#- name: Setup build directory
80+
#run: mkdir builds
81+
82+
#- name: list stuff
83+
#run: ls ./boost/boost/libs
7284
#run: ls ${{ steps.install-boost.outuputs.BOOST_ROOT }}
7385

74-
- name: Build
86+
- name: Create package
7587
run: |
76-
mkdir build
77-
cmake -S . -B build -G Ninja
78-
cmake --build build --target all install -- -v
79-
env:
80-
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
81-
BOOST_INCLUDEDIR: ${{ steps.install-boost.outputs.BOOST_ROOT }}/include
82-
BOOST_LIBRARYDIR: ${{ steps.install-boost.outputs.BOOST_ROOT }}/lib
88+
conan profile detect
89+
conan create . --build=missing -s compiler.cppstd=17
90+
91+
#- name: Build
92+
#run: |
93+
#mkdir build
94+
#cmake -S . -B build -G Ninja
95+
#cmake --build build --target all install -- -v
96+
#env:
97+
#BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
98+
#BOOST_INCLUDEDIR: ${{ steps.install-boost.outputs.BOOST_ROOT }}/include
99+
#BOOST_LIBRARYDIR: ${{ steps.install-boost.outputs.BOOST_ROOT }}/lib
83100

84101
- name: Copy
85102
run: |

0 commit comments

Comments
 (0)