README.md: line break oops #352
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
- push | |
- pull_request | |
jobs: | |
flake-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v20 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- run: nix flake check | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
installable: | |
- "brender" | |
- "brender-samples" | |
- "brender-samples-clang" | |
- "brender-samples-win64" | |
- "brender-samples-win32" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v20 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- run: nix build -L .#${{matrix.installable}} | |
build-msvc2022-win64: | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v3 | |
- run: vcpkg install sdl2:x64-windows | |
- run: > | |
cmake -B build -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=MinSizeRel | |
-DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake" | |
- run: cmake --build build | |
build-msvc2022-win32-soft: | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v3 | |
- run: vcpkg install sdl2:x86-windows | |
- run: > | |
cmake -B build -G "Visual Studio 17 2022" -A Win32 -DCMAKE_BUILD_TYPE=MinSizeRel | |
-DBRENDER_BUILD_SOFT=ON | |
-DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake" | |
- run: cmake --build build |