|
1 | 1 | name: Build + draft release |
2 | 2 |
|
3 | 3 | on: |
4 | | - #pull_request: |
| 4 | + pull_request: |
5 | 5 | workflow_dispatch: |
6 | 6 |
|
7 | 7 | # (erodkin) this is needed to create the release, per https://github.com/softprops/action-gh-release/issues/236 |
@@ -53,33 +53,50 @@ jobs: |
53 | 53 | with: |
54 | 54 | ref: ${{ needs.prepare.outputs.sha }} |
55 | 55 |
|
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' |
60 | 65 |
|
61 | 66 | - name: Install Scoop |
62 | 67 | uses: MinoruSekine/[email protected] |
63 | 68 |
|
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 |
66 | 71 |
|
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 |
69 | 78 |
|
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 |
72 | 84 | #run: ls ${{ steps.install-boost.outuputs.BOOST_ROOT }} |
73 | 85 |
|
74 | | - - name: Build |
| 86 | + - name: Create package |
75 | 87 | 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 |
83 | 100 |
|
84 | 101 | - name: Copy |
85 | 102 | run: | |
|
0 commit comments