File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,22 @@ jobs:
4343 sudo apt-get install doxygen
4444 doc/gendoc.sh
4545 tar -czf documentation.tar.gz doc index.html
46+
4647 - name : Create standalone version
4748 run : |
4849 bash tools/create_standalone.sh nowide_standalone_${{steps.get_tag.outputs.tag}}
4950 tar -czf nowide_standalone.tar.gz nowide_standalone_${{steps.get_tag.outputs.tag}}
51+ - name : Test standalone release tarball
52+ run : |
53+ tmp_dir=$(mktemp -d -p "$RUNNER_TEMP")
54+ cd "$tmp_dir"
55+ tar -xf "${{github.workspace}}/nowide_standalone.tar.gz"
56+ src_dir="$PWD/nowide_standalone_${{steps.get_tag.outputs.tag}}"
57+ mkdir build && cd build
58+ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=${{runner.workspace}}/../install "$src_dir"
59+ cmake --build . --config Debug --target install
60+ ctest --output-on-failure -C Debug --verbose
61+
5062 - name : Create Boost version
5163 run : |
5264 FOLDER="nowide_${{steps.get_tag.outputs.tag}}"
6577 cmake -DBoost_DEBUG=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=${{runner.workspace}}/../install "$src_dir"
6678 cmake --build . --config Debug --target install
6779 ctest --output-on-failure -C Debug --verbose
80+
6881 - name : Create Release
6982 if : github.event_name == 'push'
7083 id : create_release
You can’t perform that action at this time.
0 commit comments