Xerbo 1 год назад
Родитель
Сommit
493a48b263
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 34103F6D8F11CEB0
3 измененных файлов: 8 добавлений и 8 удалений
  1. +3
    -3
      .github/workflows/build.yml
  2. +3
    -3
      .github/workflows/release.yml
  3. +2
    -2
      build_windows.sh

+ 3
- 3
.github/workflows/build.yml Просмотреть файл

@@ -33,13 +33,13 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: TGZ package name: TGZ package
path: build/aptdec/aptdec_*.tar.gz
path: build/aptdec_*.tar.gz


- name: Upload DEB package - name: Upload DEB package
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: Debian package name: Debian package
path: build/aptdec/aptdec_*.deb
path: build/aptdec_*.deb


build_windows: build_windows:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -60,4 +60,4 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: ZIP package name: ZIP package
path: build/aptdec/aptdec_*.zip
path: build/aptdec_*.zip

+ 3
- 3
.github/workflows/release.yml Просмотреть файл

@@ -59,13 +59,13 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: TGZ package name: TGZ package
path: build/aptdec/aptdec_*.tar.gz
path: build/aptdec_*.tar.gz


- name: Upload DEB package - name: Upload DEB package
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: Debian package name: Debian package
path: build/aptdec/aptdec_*.deb
path: build/aptdec_*.deb


build_windows: build_windows:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -86,4 +86,4 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: ZIP package name: ZIP package
path: build/aptdec/aptdec_*.zip
path: build/aptdec_*.zip

+ 2
- 2
build_windows.sh Просмотреть файл

@@ -33,8 +33,8 @@ if [ ! -d libsndfile-1.2.0-win64 ]; then
fi fi


# Copy required GCC libs # Copy required GCC libs
cp $(find /usr | grep libgcc_s_seh-1.dll) $TEMP_PATH/bin
cp $(find /usr | grep libwinpthread-1.dll) $TEMP_PATH/bin
cp $(find /usr | grep libgcc_s_seh-1.dll | head -n 1) $TEMP_PATH/bin
cp $(find /usr | grep libwinpthread-1.dll | head -n 1) $TEMP_PATH/bin


# Build aptdec # Build aptdec
cmake -B $BUILD_DIR -DCMAKE_BUILD_TYPE=$1 -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-mingw32.cmake -DCMAKE_INSTALL_PREFIX=$TEMP_PATH cmake -B $BUILD_DIR -DCMAKE_BUILD_TYPE=$1 -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-mingw32.cmake -DCMAKE_INSTALL_PREFIX=$TEMP_PATH


Загрузка…
Отмена
Сохранить