Kaynağa Gözat

Github actions, set fetch depth to unlimited

v2
Xerbo 1 yıl önce
ebeveyn
işleme
0d5195434e
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 34103F6D8F11CEB0
3 değiştirilmiş dosya ile 7 ekleme ve 3 silme
  1. +2
    -0
      .github/workflows/build.yml
  2. +3
    -1
      .github/workflows/release.yml
  3. +2
    -2
      build_windows.sh

+ 2
- 0
.github/workflows/build.yml Dosyayı Görüntüle

@@ -18,6 +18,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
fetch-depth: 0
- name: Install dependencies
run: sudo apt-get install cmake git gcc libsndfile-dev libpng-dev
@@ -47,6 +48,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
fetch-depth: 0
- name: Install dependencies
run: sudo apt install cmake git mingw-w64 unzip


+ 3
- 1
.github/workflows/release.yml Dosyayı Görüntüle

@@ -44,7 +44,8 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
fetch-depth: 0

- name: Install dependencies
run: sudo apt-get install cmake git gcc libsndfile-dev libpng-dev

@@ -73,6 +74,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
fetch-depth: 0
- name: Install dependencies
run: sudo apt install cmake git mingw-w64 unzip


+ 2
- 2
build_windows.sh Dosyayı Görüntüle

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

# Copy required GCC libs
cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgcc_s_seh-1.dll $TEMP_PATH/bin
cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll $TEMP_PATH/bin
cp $(find /usr | grep libgcc_s_seh-1.dll) $TEMP_PATH/bin
cp $(find /usr | grep libwinpthread-1.dll) $TEMP_PATH/bin

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


Yükleniyor…
İptal
Kaydet