Merge pull request #111 from wipedlifepotato/master

Comment workflow for windows, because its stucks
This commit is contained in:
orignal 2025-10-15 20:28:58 -04:00 committed by GitHub
commit 9f28d845ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 15 deletions

View file

@ -12,7 +12,7 @@ jobs:
build: build:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, windows-latest] os: [ubuntu-latest] #, windows-latest]
compiler: [clang] compiler: [clang]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -39,14 +39,14 @@ jobs:
obj obj
libi2pd.a libi2pd.a
key: ubuntu-build-${{ runner.os }}-${{ hashFiles('**/*.cpp', '**/*.h') }} key: ubuntu-build-${{ runner.os }}-${{ hashFiles('**/*.cpp', '**/*.h') }}
#
- name: Install MSYS2 (Windows) # - name: Install MSYS2 (Windows)
if: matrix.os == 'windows-latest' # if: matrix.os == 'windows-latest'
run: | # run: |
Invoke-WebRequest -Uri "https://github.com/msys2/msys2-installer/releases/download/2025-08-30/msys2-x86_64-20250830.exe" -OutFile "msys2-installer.exe" # Invoke-WebRequest -Uri "https://github.com/msys2/msys2-installer/releases/download/2025-08-30/msys2-x86_64-20250830.exe" -OutFile "msys2-installer.exe"
Start-Process -Wait -FilePath "msys2-installer.exe" -ArgumentList "/S" # Start-Process -Wait -FilePath "msys2-installer.exe" -ArgumentList "/S"
C:\msys64\usr\bin\bash.exe -lc "pacman -Syu --noconfirm" # C:\msys64\usr\bin\bash.exe -lc "pacman -Syu --noconfirm"
C:\msys64\usr\bin\bash.exe -lc "export ARCH=x86_64; export MINGW=mingw64; pacman -S --noconfirm mingw-w64-$ARCH-gcc mingw-w64-$ARCH-boost mingw-w64-$ARCH-openssl git make" # C:\msys64\usr\bin\bash.exe -lc "export ARCH=x86_64; export MINGW=mingw64; pacman -S --noconfirm mingw-w64-$ARCH-gcc mingw-w64-$ARCH-boost mingw-w64-$ARCH-openssl git make"
- name: Initialize Git Submodules - name: Initialize Git Submodules
run: git submodule update --init --recursive run: git submodule update --init --recursive
@ -57,12 +57,12 @@ jobs:
make -j8 make -j8
make stripall make stripall
make builddir make builddir
#
- name: Build Project (Windows) # - name: Build Project (Windows)
if: matrix.os == 'windows-latest' # if: matrix.os == 'windows-latest'
run: | # run: |
C:\msys64\usr\bin\bash.exe -lc "cd /c/runner/work/i2pd-tools/i2pd-tools && make && make stripall && make builddir" # C:\msys64\usr\bin\bash.exe -lc "cd /c/runner/work/i2pd-tools/i2pd-tools && make && make stripall && make builddir"
#
- name: Upload binaries - name: Upload binaries
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:

View file

@ -31,6 +31,9 @@ git submodule init && git submodule update
git submodule update --init git submodule update --init
git pull --recurse-submodules git pull --recurse-submodules
make make
# optional, for small output
# make stripall
# make builddir
``` ```
## Tools included ## Tools included