2
0
Эх сурвалжийг харах

Fix MXE lib address and new compilation issues

Andrii Danylchenko 4 жил өмнө
parent
commit
2f450f6592

+ 8 - 7
.github/workflows/github.yml

@@ -27,12 +27,12 @@ jobs:
             cxx: g++-9
             test: 0
             cmake_args: -G Ninja
-          - platform: mac
-            os: macos-latest
-            test: 0
-            pack: 1
-            extension: dmg
-            cmake_args: -G Ninja
+#          - platform: mac
+#            os: macos-latest
+#            test: 0
+#            pack: 1
+#            extension: dmg
+#            cmake_args: -G Ninja
           - platform: mxe
             os: ubuntu-20.04
             mxe: i686-w64-mingw32.shared
@@ -111,7 +111,8 @@ jobs:
       if: ${{ matrix.pack == 1 }}
       run: |
         cd '${{github.workspace}}/build'
-        cpack -C Release ${{ matrix.cpack_args }}
+        CPACK_PATH=`which -a cpack | grep -m1 -v -i chocolatey`
+        "$CPACK_PATH" -C Release ${{ matrix.cpack_args }}
         
     - name: Additional logs
       if: ${{ failure() && steps.cpack.outcome == 'failure' && matrix.platform == 'mxe' }}

+ 1 - 0
CI/mac/before_install.sh

@@ -1,6 +1,7 @@
 #!/bin/sh
 
 brew update
+brew pin [email protected]
 brew install smpeg2 libpng freetype qt5 ffmpeg ninja boost tbb luajit
 brew install sdl2 sdl2_ttf sdl2_image sdl2_mixer
 

+ 2 - 2
CI/mxe/before_install.sh

@@ -3,8 +3,8 @@
 # Install nsis for installer creation
 sudo apt-get install -qq nsis ninja-build
 
-wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.6_amd64.deb
-sudo apt install ./libssl1.0.0_1.0.2n-1ubuntu5.6_amd64.deb
+wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb
+sudo apt install ./libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb
 
 
 # MXE repository was too slow for Travis far too often

+ 2 - 2
scripting/erm/ERMInterpreter.cpp

@@ -988,8 +988,8 @@ namespace ERMConverter
 						fmt % name;
 						fmt % params;
 
-						GenericReceiver receiver(out, fmt.str(), (name == "DO"));
-						bo[0].apply_visitor(receiver);
+						GenericReceiver gr(out, fmt.str(), (name == "DO"));
+						bo[0].apply_visitor(gr);
 					}
 					else
 					{