File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - ' *'
8+ pull_request :
9+ branches :
10+ - main
11+ - ' *'
12+
13+ env :
14+ # Path to the solution file relative to the root of the project.
15+ SOLUTION_FILE_PATH : .
16+
17+ permissions :
18+ contents : read
19+
20+ defaults :
21+ run :
22+ shell : bash {0}
23+
24+ jobs :
25+ build :
26+ runs-on : ubuntu-latest
27+
28+ steps :
29+ - name : Setup Requirements
30+ run : |
31+ sudo apt-get install mingw-w64 markdown libfuse-dev
32+
33+ - name : Checkout
34+ uses : actions/checkout@v4
35+
36+ - name : Build Linux
37+ run : |
38+ sudo make -C build/unix package
39+
40+
41+ - name : Build Windows
42+ run : |
43+ sudo make -C build/unix cleandirs
44+ sudo make -C build/unix CC=x86_64-w64-mingw32-gcc WIN=1 package || exit 1
45+
46+ - name : Results
47+ run : |
48+ md5sum build/unix/toolshed-*.tgz
49+ ls build/unix/toolshed-*.tgz | xargs -I {} bash -c 'ls -al --color=auto {}; tar tzvf {}'
50+
You can’t perform that action at this time.
0 commit comments