63
63
- name : Upload debug symbols
64
64
uses : actions/upload-artifact@v3
65
65
with :
66
- name : debug-Linux ${{matrix.bits}}${{matrix.flags}}${{matrix.android}}
66
+ name : debug-linux ${{matrix.bits}}${{matrix.flags}}${{matrix.android}}
67
67
path : |
68
68
build_hl2/**/*.debug
69
69
@@ -88,17 +88,57 @@ jobs:
88
88
- name : Upload build
89
89
uses : actions/upload-artifact@v3
90
90
with :
91
- name : macOS--64bits${{matrix.flags}}${{matrix.android}}
91
+ name : macOS--64bits${{matrix.flags}}
92
92
path : |
93
93
build_hl2
94
94
!build_hl2/**/*.dSYM
95
95
- name : Upload debug symbols
96
96
uses : actions/upload-artifact@v3
97
97
with :
98
- name : debug-macOS--64bits${{matrix.flags}}${{matrix.android}}
98
+ name : debug-macOS--64bits${{matrix.flags}}
99
99
path : |
100
100
build_hl2/**/*.dSYM
101
101
102
+ build-freebsd :
103
+ strategy :
104
+ fail-fast : false
105
+ matrix :
106
+ flags : ['', '-d']
107
+ runs-on : macos-12
108
+ steps :
109
+ - uses : actions/checkout@v3
110
+ with :
111
+ submodules : recursive
112
+
113
+ - name : Build freebsd-amd64
114
+ uses : vmactions/freebsd-vm@v0
115
+ with :
116
+ usesh : true # default is tcsh until 14.0
117
+ mem : 2048
118
+ envs : ' WAF_FLAGS'
119
+ prepare : |
120
+ pkg ins -y python sdl2 freetype2 fontconfig curl pkgconf openal-soft jpeg-turbo png libedit
121
+ run : |
122
+ freebsd-version -kru
123
+ echo ////////// Configure //////////
124
+ ./waf configure --64bits ${{ matrix.flags }} $WAF_FLAGS
125
+ echo ////////// Build //////////
126
+ ./waf install --strip-to-file
127
+ rm -rf .waf* build/ scripts/waifulib/__pycache__/ # because it copies back
128
+ - name : Upload build
129
+ uses : actions/upload-artifact@v3
130
+ with :
131
+ name : freebsd--64bits${{matrix.flags}}
132
+ path : |
133
+ build_hl2
134
+ !build_hl2/**/*.debug
135
+ - name : Upload debug symbols
136
+ uses : actions/upload-artifact@v3
137
+ with :
138
+ name : debug-freebsd--64bits${{matrix.flags}}${{matrix.android}}
139
+ path : |
140
+ build_hl2/**/*.debug
141
+
102
142
build-windows :
103
143
strategy :
104
144
fail-fast : false
0 commit comments