build: fix yml syntax error
Build / build (push) Failing after 24s

This commit is contained in:
2026-03-20 21:23:54 -03:00
parent fa2d0d0efc
commit 823c89552b
+29 -29
View File
@@ -11,32 +11,32 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Configure Git Auth for Submodules - name: Configure Git Auth for Submodules
run: | run: |
git config --global url."https://${{ github.token }}@git.neru.rip/".insteadOf "https://git.neru.rip/" git config --global url."https://${{ github.token }}@git.neru.rip/".insteadOf "https://git.neru.rip/"
- name: Fetch Submodules - name: Fetch Submodules
run: git submodule update --init --recursive run: git submodule update --init --recursive
- name: Install cross-compilation tools - name: Install cross-compilation tools
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y cmake gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 dotnet-sdk-8.0 sudo apt-get install -y cmake gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 dotnet-sdk-8.0
- name: Configure CMake for Windows - name: Configure CMake for Windows
run: | run: |
cmake -B build -S . \ cmake -B build -S . \
-DCMAKE_TOOLCHAIN_FILE=/usr/share/mingw-w64/toolchain-x86_64.cmake \ -DCMAKE_TOOLCHAIN_FILE=/usr/share/mingw-w64/toolchain-x86_64.cmake \
-DCMAKE_SYSTEM_NAME=Windows \ -DCMAKE_SYSTEM_NAME=Windows \
-DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc \ -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc \
-DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ \ -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ \
-DCMAKE_RC_COMPILER=x86_64-w64-mingw32-windres -DCMAKE_RC_COMPILER=x86_64-w64-mingw32-windres
- name: Build Unlocker - name: Build Unlocker
run: cmake --build build --config Release --target dbd-unlocker run: cmake --build build --config Release --target dbd-unlocker
- name: Build Dumper (Windows) - name: Build Dumper (Windows)
run: dotnet build src/dumper/dbd-dumper.csproj -c Release --runtime win-x64 run: dotnet build src/dumper/dbd-dumper.csproj -c Release --runtime win-x64