Skip to content

Commit

Permalink
update submodules (#9)
Browse files Browse the repository at this point in the history
* update submodules

* Add lxi-tools and liblxi version in project version
  • Loading branch information
psalic authored Nov 6, 2024
1 parent eb9e799 commit bd4dcbf
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- uses: msys2/setup-msys2@v2
with:
Expand All @@ -22,6 +23,10 @@ jobs:
- name: Build
run: |
bash msys2_scripts/msys2-lxi-tools-pacman.sh
LXI_TAG="$(cd lxi-tools && git describe --tags)"
LIBLXI_TAG="$(cd liblxi && git describe --tags)"
FULL_TAG=$LXI_TAG-$LIBLXI_TAG
cd lxi-tools && meson rewrite kwargs set project / version $FULL_TAG && cd ..
pacman -S --noconfirm mingw-w64-ucrt-x86_64-imagemagick
meson setup liblxi/build liblxi
meson compile -C liblxi/build
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linux-docket-build-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Build in docker
run:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- uses: msys2/setup-msys2@v2
with:
Expand All @@ -19,6 +20,10 @@ jobs:
- name: Build
run: |
bash msys2_scripts/msys2-lxi-tools-pacman.sh
LXI_TAG="$(cd lxi-tools && git describe --tags)"
LIBLXI_TAG="$(cd liblxi && git describe --tags)"
FULL_TAG=$LXI_TAG-$LIBLXI_TAG
cd lxi-tools && meson rewrite kwargs set project / version $FULL_TAG && cd ..
pacman -S --noconfirm mingw-w64-ucrt-x86_64-imagemagick
meson setup liblxi/build liblxi
meson compile -C liblxi/build
Expand Down
2 changes: 1 addition & 1 deletion liblxi
2 changes: 2 additions & 0 deletions msys2_scripts/msys2-lxi-tools-compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ cd $SCRIPT_DIR/../$LIBLXI_DIR && meson install -C build

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/ucrt64/lib/pkgconfig:$PKG_CONFIG_PATH

cd $SCRIPT_DIR/../$LXI_TOOLS_DIR && git config core.filemode false

cd $SCRIPT_DIR/../$LXI_TOOLS_DIR && meson setup build

cd $SCRIPT_DIR/../$LXI_TOOLS_DIR && meson compile -j 1 -C build
Expand Down
4 changes: 2 additions & 2 deletions msys2_scripts/msys2-lxi-tools-redistributable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ cp /usr/bin/msys-hx509-5.dll $SCRIPT_DIR/../$REDISTRIBUTABLE_DIR/$LXI_TOOLS_APP_
cp /usr/bin/msys-iconv-2.dll $SCRIPT_DIR/../$REDISTRIBUTABLE_DIR/$LXI_TOOLS_APP_DATA/bin/
cp /usr/bin/msys-krb5-26.dll $SCRIPT_DIR/../$REDISTRIBUTABLE_DIR/$LXI_TOOLS_APP_DATA/bin/

cp /usr/local/bin/msys-lxi-1.dll $SCRIPT_DIR/../$REDISTRIBUTABLE_DIR/$LXI_TOOLS_APP_DATA/bin/
cp /usr/local/bin/*.dll $SCRIPT_DIR/../$REDISTRIBUTABLE_DIR/$LXI_TOOLS_APP_DATA/bin/
cp /usr/bin/msys-ncursesw6.dll $SCRIPT_DIR/../$REDISTRIBUTABLE_DIR/$LXI_TOOLS_APP_DATA/bin/
cp /usr/bin/msys-readline8.dll $SCRIPT_DIR/../$REDISTRIBUTABLE_DIR/$LXI_TOOLS_APP_DATA/bin/
cp /usr/bin/msys-roken-18.dll $SCRIPT_DIR/../$REDISTRIBUTABLE_DIR/$LXI_TOOLS_APP_DATA/bin/
Expand All @@ -66,4 +66,4 @@ cp /ucrt64/bin/lua54.dll $SCRIPT_DIR/../$REDISTRIBUTABLE_DIR/$LXI_TOOLS_APP_DATA
cp /ucrt64//bin/zlib1.dll $SCRIPT_DIR/../$REDISTRIBUTABLE_DIR/$LXI_TOOLS_APP_DATA/bin/
cp /ucrt64//bin/gdbus.exe $SCRIPT_DIR/../$REDISTRIBUTABLE_DIR/$LXI_TOOLS_APP_DATA/bin/

cp /usr/local/bin/msys-lxi-1.dll $SCRIPT_DIR/../$REDISTRIBUTABLE_DIR/$LXI_TOOLS_APP_DATA/bin/
cp /usr/local/bin/msys-lxi-1.dll $SCRIPT_DIR/../$REDISTRIBUTABLE_DIR/$LXI_TOOLS_APP_DATA/bin/

0 comments on commit bd4dcbf

Please sign in to comment.