File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 4646 path : ./oopetris
4747 submodules : false
4848
49+ - uses : actions/checkout@v4
50+ name : Checkout C Wrapper
51+ with :
52+ fetch-depth : " 0"
53+ repository : Totto16/oopetris_wrapper_c
54+ ref : main
55+ path : ./oopetris_c_wrapper
56+ submodules : false
4957
5058 - name : Setup MSVC (Windows)
5159 if : matrix.config.os == 'windows'
@@ -119,6 +127,25 @@ jobs:
119127 cd oopetris
120128 sudo meson install -C build
121129
130+ - name : Build C Wrapper
131+ run : |
132+ cd oopetris_c_wrapper
133+ meson setup -Dtests=false -Dexample=false build -Dbuildtype=release -Ddefault_library=static
134+ meson compile -C build
135+
136+
137+ - name : Install C Wrapper
138+ if : matrix.config.os != 'ubuntu'
139+ run : |
140+ cd oopetris_c_wrapper
141+ meson install -C build
142+
143+ - name : Build and install Libs (Linux)
144+ if : matrix.config.os == 'ubuntu'
145+ run : |
146+ cd oopetris_c_wrapper
147+ sudo meson install -C build
148+
122149 - uses : haskell-actions/setup@v2
123150 with :
124151 ghc-version : ' 9.6.5'
You can’t perform that action at this time.
0 commit comments