File tree Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches :
7+ - " master"
8+
9+ jobs :
10+ build-windows :
11+ runs-on : windows-2019
12+ steps :
13+ - uses : actions/checkout@v4
14+ with :
15+ clean : true
16+ submodules : recursive
17+ fetch-depth : 0
18+
19+ - name : Generate build files
20+ run : |
21+ mkdir build
22+ cd build
23+ cmake -DCMAKE_BUILD_TYPE=Release ../source/compiler -A Win32 -G "Visual Studio 16 2019"
24+ cmake --build . --config Release
25+
26+ - name : Upload artifacts
27+ uses : actions/upload-artifact@v4
28+ with :
29+ name : omp-pawn-compiler-win32
30+ path : build/Release/*
31+
32+ build-linux :
33+ runs-on : ubuntu-latest
34+ steps :
35+ - uses : actions/checkout@v4
36+ with :
37+ clean : true
38+ submodules : recursive
39+ fetch-depth : 0
40+
41+ - name : Build using docker
42+ shell : bash
43+ run : |
44+ cd docker
45+ chmod +x ./build.sh
46+ chmod +x ./docker-entrypoint.sh
47+ ./build.sh
48+
49+ - name : Upload artifacts
50+ uses : actions/upload-artifact@v4
51+ with :
52+ name : omp-pawn-compiler-linux
53+ path : |
54+ docker/build/libpawnc.so
55+ docker/build/pawncc
56+ docker/build/pawndisasm
57+ docker/build/pawnruns
You can’t perform that action at this time.
0 commit comments