Opt-in for an easy-way CMake target to create soh.otr file (#3057)

* use a convenient cmake target for gen soh otr

* Update generate-builds.yml

* Apply for all conditions

* grandma change
This commit is contained in:
AltoXorg
2023-08-16 08:26:23 +08:00
committed by GitHub
parent 74d6678543
commit 6923c2d3c0
4 changed files with 42 additions and 9 deletions

View File

@@ -47,10 +47,7 @@ jobs:
run: |
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
cmake --no-warn-unused-cli -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release
cmake --build build-cmake --config Release --target ZAPD
mkdir Extract
cp -r OTRExporter/assets/ ./Extract/assets
./build-cmake/ZAPD/ZAPD.out botr -se OTR --norom
cmake --build build-cmake --config Release --target GenerateSohOtr
- uses: actions/upload-artifact@v3
with:
name: soh.otr