diff --git a/.github/workflows/ccpp_win.yml b/.github/workflows/ccpp_win.yml index 1bd841de42c..8345bcb591d 100644 --- a/.github/workflows/ccpp_win.yml +++ b/.github/workflows/ccpp_win.yml @@ -9,8 +9,31 @@ on: - debug_win jobs: + + test_gettext: + runs-on: windows-2019 + steps: + run: mkdir build + - name: copy gettext + working-directory: ./build + shell: powershell + run: '(new-object System.Net.WebClient).DownloadFile("https://github.com/supermerill/SuperSlicer_deps/releases/download/gettext/gettext-tools-static-0.18.1.1.zip", "gettext.zip")' + - name: unzip + working-directory: ./build + shell: cmd + run: '"C:/Program Files/7-Zip/7z.exe" x gettext.zip' + - name: copy missing dll content from old release + working-directory: ./build + - name: msgfmt + working-directory: ./build + run: dir + - name: msgfmt + working-directory: ./build + run: msgfmt --version + build_dep: runs-on: windows-2019 + needs: test_gettext steps: - uses: actions/checkout@v3 @@ -60,12 +83,12 @@ jobs: - name: make working-directory: ./build run: msbuild /m /P:Configuration=RelWithDebInfo INSTALL.vcxproj - - name: make .mo - working-directory: ./build - run: msbuild /m /P:Configuration=RelWithDebInfo gettext_po_to_mo.vcxproj - - name: make .pot - working-directory: ./build - run: msbuild /m /P:Configuration=RelWithDebInfo gettext_make_pot.vcxproj + # - name: make .mo + # working-directory: ./build + # run: msbuild /m /P:Configuration=RelWithDebInfo gettext_po_to_mo.vcxproj + # - name: make .pot + # working-directory: ./build + # run: msbuild /m /P:Configuration=RelWithDebInfo gettext_make_pot.vcxproj - name: create directory and copy into it working-directory: ./build run: ls