Skip to content

render: Fix sokol map reflection, use depthbuffer to discard #160

render: Fix sokol map reflection, use depthbuffer to discard

render: Fix sokol map reflection, use depthbuffer to discard #160

Workflow file for this run

name: Nix Build
on:
push:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
env:
GH_CACHE_KEY: 1
jobs:
# build:
# strategy:
# fail-fast: false
# matrix:
# target: [
# #{ pkg: "aarch64-darwin", on: "macos-latest" },
# #{ pkg: "x86_64-darwin", on: "macos-latest" },
# { pkg: "x86_64-linux", on: "ubuntu-latest" },
# #{ pkg: "aarch64-linux", on: "ubuntu-latest" },
# ]
# env: [
# {name: "Release", flake: ""},
# {name: "Debug", flake: "_debug"},
# ]
# name: ${{matrix.target.pkg}} ${{matrix.env.name}}
# if: github.event.pull_request.draft != true
# runs-on: ${{matrix.target.on}}
# steps:
# - uses: actions/checkout@v4
# - uses: actions/cache@v4
# id: cache
# with:
# path: /nix/store
# key: NIX-${{matrix.target.pkg}}-${{matrix.env.name}}-${{ env.GH_CACHE_KEY }}
# - uses: cachix/install-nix-action@v20
# with:
# github_access_token: ${{ secrets.GITHUB_TOKEN }}
# - run: nix build ".#platform_${{matrix.target.pkg}}${{matrix.env.flake}}"
check:
name: Check
if: github.event.pull_request.draft != true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v20
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: nix flake check