Selaa lähdekoodia

Github actions, set fetch depth to unlimited

v2
Xerbo 1 vuosi sitten
vanhempi
commit
0d5195434e
No known key found for this signature in database GPG Key ID: 34103F6D8F11CEB0
3 muutettua tiedostoa jossa 7 lisäystä ja 3 poistoa
  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 Näytä tiedosto

@@ -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 Näytä tiedosto

@@ -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 Näytä tiedosto

@@ -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


Ladataan…
Peruuta
Tallenna