From 9a79cf3b3628912427a5890e66d0bc8e70c873f0 Mon Sep 17 00:00:00 2001 From: Allan Jeremy Date: Tue, 14 Jun 2022 17:32:18 +0300 Subject: [PATCH] Debug WIP: Added windows build --- .github/workflows/benchmark.yml | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index a4e1ff36..277ab129 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -12,7 +12,7 @@ on: - "prototyping/**" jobs: - benchmarks-run-windows: + windows: name: Run ${{ matrix.bench.title }} (Windows) strategy: fail-fast: false @@ -35,9 +35,25 @@ jobs: steps: - name: Checkout Luau repository uses: actions/checkout@v3 - - - name: Build Luau - run: make config=release luau luau-analyze + - name: cmake configure + run: cmake . -A ${{matrix.arch}} -DLUAU_WERROR=ON + - name: cmake test + shell: bash # necessary for fail-fast + run: | + cmake --build . --target Luau.UnitTest Luau.Conformance --config Debug + Debug/Luau.UnitTest.exe + Debug/Luau.Conformance.exe + - name: cmake test w/flags + shell: bash # necessary for fail-fast + run: | + Debug/Luau.UnitTest.exe --fflags=true + Debug/Luau.Conformance.exe --fflags=true + - name: cmake cli + shell: bash # necessary for fail-fast + run: | + cmake --build . --target Luau.Repl.CLI Luau.Analyze.CLI --config Debug # match config with tests to improve build time + Debug/luau tests/conformance/assert.lua + Debug/luau-analyze tests/conformance/assert.lua - uses: actions/setup-python@v3 with: