Update pipelines to build translations for build consistency

presentation
Ulrich Huber 7 years ago
parent 84290e5035
commit 179c35dd76
  1. 4
      azure-pipelines/steps/build_linux.yml
  2. 10
      azure-pipelines/steps/build_mac_native.yml
  3. 4
      azure-pipelines/steps/build_windows.yml
  4. 2
      po/xournalpp.pot

@ -14,6 +14,10 @@ steps:
export CXX=g++-8
export CC=gcc-8
cmake -GNinja .. -DCMAKE_BUILD_TYPE=${{ parameters.build_type}} ${{ parameters.cmake_flags }}
# Make sure pot is up to date with sources (maybe translation pipeline is currently running)
cmake --build . --target pot
cmake --build . --target translations
# Build Xournal++
cmake --build . ${{ parameters.cmake_commands}}
workingDirectory: ./build
displayName: 'Build Xournal++'

@ -25,8 +25,12 @@ steps:
displayName: 'Create Build Directory'
- bash: |
export PATH="$HOME/.local/bin:/Users/git-bin/gtk/inst/bin:$PATH"
cmake -DCMAKE_INSTALL_PREFIX:PATH=/Users/git-bin/gtk/inst .. -DCMAKE_BUILD_TYPE=${{ parameters.build_type}} ${{ parameters.cmake_flags }}
make -j 4
make install
cmake -DCMAKE_INSTALL_PREFIX:PATH=/Users/git-bin/gtk/inst .. -DCMAKE_BUILD_TYPE=${{ parameters.build_type }} ${{ parameters.cmake_flags }}
# Make sure pot is up to date with sources (maybe translation pipeline is currently running)
cmake --build . --target pot
cmake --build . --target translations
# Build Xournal++
cmake --build .
cmake --build . --target install
workingDirectory: ./build
displayName: 'Build Xournal++'

@ -50,6 +50,10 @@ steps:
- script: |
set PATH=%PATH%;%CD:~0,2%\msys64\usr\bin;%CD:~0,2%\msys64\mingw64\bin"
%CD:~0,2%\msys64\usr\bin\bash -lc "cmake .. -DCMAKE_BUILD_TYPE=${{ parameters.build_type}} ${{ parameters.cmake_flags }}"
# Make sure pot is up to date with sources (maybe translation pipeline is currently running)
%CD:~0,2%\msys64\usr\bin\bash -lc "cmake --build . --target pot"
%CD:~0,2%\msys64\usr\bin\bash -lc "cmake --build . --target translations"
# Build Xournal++
%CD:~0,2%\msys64\usr\bin\bash -lc "cmake --build ."
workingDirectory: ./build
env:

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xournalpp 1.0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-18 01:43+0000\n"
"POT-Creation-Date: 2019-10-18 03:06+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

Loading…
Cancel
Save