File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will upload binaries as release artifacts to Codeberg Actions.
2+ # Please note that only Linux binaries are uploaded. For Windows, please visit:
3+ # https://multitoolplusplus.codeberg.page/wiki/wiki/installing-dependencies.html#windows
4+ # https://multitoolplusplus.codeberg.page/wiki/wiki/building-multitool-with-cmake.html
5+
6+ # For macOS, please visit:
7+ # https://codeberg.org/multitoolplusplus/app/fork # you're on your own
8+
9+ name : Upload binaries as release artifacts
10+
11+ on :
12+ release :
13+ types : [published]
14+ jobs :
15+ build :
16+ runs-on : codeberg-tiny # Codeberg only has this runner, which runs Ubuntu.
17+
18+ steps :
19+ - name : Checkout code
20+ uses : actions/checkout@v2
21+
22+ - name : Build with CMake
23+ run : |
24+ sudo apt-get update
25+ sudo apt-get install -y cmake curl build-essential gcc
26+ mkdir -p build # In case it somehow exists already
27+ cd build
28+ cmake ..
29+ cmake --build .
30+ cd .. # Go back to repository root, to prevent the next step failing
31+
32+ - name : Upload binaries as action artifacts
33+ uses : actions/upload-artifact@v4
34+ with :
35+ name : pre-compiled binaries
36+ path : build
You can’t perform that action at this time.
0 commit comments