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
|
build-type: [Release] # Debug
|
||||||
lua: ["lua 5.1", "lua 5.2", "lua 5.3", "lua 5.4", "luajit 2.1.0-beta3"]
|
lua: ["lua 5.1", "lua 5.2", "lua 5.3", "lua 5.4", "luajit 2.1.0-beta3"]
|
||||||
os: ["ubuntu-latest"]
|
os: ["ubuntu-latest"]
|
||||||
include:
|
|
||||||
- os: macos-latest
|
|
||||||
macos_build_target: 10.0
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -26,8 +23,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: '3.8'
|
python-version: '3.8'
|
||||||
- name: Setup env
|
- name: Setup env
|
||||||
env:
|
|
||||||
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.macos_build_target }}
|
|
||||||
run: |
|
run: |
|
||||||
pip install hererocks
|
pip install hererocks
|
||||||
hererocks lua-pkg --${{ matrix.lua }} -rlatest
|
hererocks lua-pkg --${{ matrix.lua }} -rlatest
|
||||||
|
|||||||
@ -20,7 +20,7 @@ end
|
|||||||
The expected and actual should "match" (Might be impossible when playing with threads)
|
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.
|
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 good = false
|
||||||
local proc = multi:newProcessor("Test")
|
local proc = multi:newProcessor("Test")
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
package.path = "../?/init.lua;../?.lua;"..package.path
|
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)
|
proc = multi:newProcessor("Thread Test",true)
|
||||||
local LANES, LOVE, PSEUDO = 1, 2, 3
|
local LANES, LOVE, PSEUDO = 1, 2, 3
|
||||||
local env, we_good
|
local env, we_good
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user