Throw an error when things break
This commit is contained in:
parent
8c987b81ab
commit
96cc41effb
5
.github/workflows/nix_ci.yml
vendored
5
.github/workflows/nix_ci.yml
vendored
@ -14,9 +14,6 @@ jobs:
|
||||
build-type: [Release] # Debug
|
||||
lua: ["lua 5.1", "lua 5.2", "lua 5.3", "lua 5.4", "luajit 2.1.0-beta3"]
|
||||
os: ["ubuntu-latest"]
|
||||
include:
|
||||
- os: macos-latest
|
||||
macos_build_target: 10.0
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@ -26,8 +23,6 @@ jobs:
|
||||
with:
|
||||
python-version: '3.8'
|
||||
- name: Setup env
|
||||
env:
|
||||
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.macos_build_target }}
|
||||
run: |
|
||||
pip install hererocks
|
||||
hererocks lua-pkg --${{ matrix.lua }} -rlatest
|
||||
|
||||
@ -20,7 +20,7 @@ end
|
||||
The expected and actual should "match" (Might be impossible when playing with threads)
|
||||
This will be pushed directly to the master as tests start existing.
|
||||
]]
|
||||
local multi, thread = require("multi"):init{print=true,warn=true,error=false}--{priority=true}
|
||||
local multi, thread = require("multi"):init{print=true,warn=true,error=true}--{priority=true}
|
||||
local good = false
|
||||
local proc = multi:newProcessor("Test")
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
package.path = "../?/init.lua;../?.lua;"..package.path
|
||||
multi, thread = require("multi"):init{}--{priority=true}
|
||||
multi, thread = require("multi"):init{error=true,warning=true,print=true}--{priority=true}
|
||||
proc = multi:newProcessor("Thread Test",true)
|
||||
local LANES, LOVE, PSEUDO = 1, 2, 3
|
||||
local env, we_good
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user