Skip to content

Commit

Permalink
try fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
supermerill committed Apr 30, 2024
1 parent d59bfb9 commit 3d274e5
Showing 1 changed file with 29 additions and 6 deletions.
35 changes: 29 additions & 6 deletions .github/workflows/ccpp_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3d274e5

Please sign in to comment.