move travis, appveyor, ci.yml.disabled to unmaintained/ (#17828)
* move travis, appveyor, ci.yml.disabled to unmaintained * update some mentions of travis, appevyor * fix test
This commit is contained in:
parent
80df21d9a3
commit
b667e288e2
12 changed files with 20 additions and 19 deletions
|
|
@ -57,6 +57,8 @@
|
||||||
- The unary slice `..b` was removed, use `0..b` instead or use `-d:nimLegacyUnarySlice`
|
- The unary slice `..b` was removed, use `0..b` instead or use `-d:nimLegacyUnarySlice`
|
||||||
for a deprecation period.
|
for a deprecation period.
|
||||||
|
|
||||||
|
- Moved `.travis.yml`, `appveyor.yml.disabled`, `.github/workflows/ci.yml.disabled` to `unmaintained/`.
|
||||||
|
|
||||||
## Standard library additions and changes
|
## Standard library additions and changes
|
||||||
- Added support for parenthesized expressions in `strformat`
|
- Added support for parenthesized expressions in `strformat`
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -155,7 +155,7 @@ To run a single test:
|
||||||
./koch test run tests/stdlib/tos.nim # can also provide relative path
|
./koch test run tests/stdlib/tos.nim # can also provide relative path
|
||||||
|
|
||||||
For reproducible tests (to reproduce an environment more similar to the one
|
For reproducible tests (to reproduce an environment more similar to the one
|
||||||
run by Continuous Integration on travis/appveyor), you may want to disable your
|
run by Continuous Integration on github actions/azure pipelines), you may want to disable your
|
||||||
local configuration (e.g. in ``~/.config/nim/nim.cfg``) which may affect some
|
local configuration (e.g. in ``~/.config/nim/nim.cfg``) which may affect some
|
||||||
tests; this can also be achieved by using
|
tests; this can also be achieved by using
|
||||||
`export XDG_CONFIG_HOME=pathtoAlternateConfig`:cmd: before running `./koch`:cmd:
|
`export XDG_CONFIG_HOME=pathtoAlternateConfig`:cmd: before running `./koch`:cmd:
|
||||||
|
|
@ -517,7 +517,7 @@ Continuous Integration (CI)
|
||||||
the CI pipeline and affects other PR's; if you don't need it (e.g. for WIP or
|
the CI pipeline and affects other PR's; if you don't need it (e.g. for WIP or
|
||||||
documentation only changes), add ``[skip ci]`` to your commit message title.
|
documentation only changes), add ``[skip ci]`` to your commit message title.
|
||||||
This convention is supported by our github actions pipelines and our azure pipeline
|
This convention is supported by our github actions pipelines and our azure pipeline
|
||||||
as well as our former other pipelines:
|
(using custom logic, which should complete in < 1mn) as well as our former other pipelines:
|
||||||
`Appveyor <https://www.appveyor.com/docs/how-to/filtering-commits/#skip-directive-in-commit-message>`_
|
`Appveyor <https://www.appveyor.com/docs/how-to/filtering-commits/#skip-directive-in-commit-message>`_
|
||||||
and `Travis <https://docs.travis-ci.com/user/customizing-the-build/#skipping-a-build>`_.
|
and `Travis <https://docs.travis-ci.com/user/customizing-the-build/#skipping-a-build>`_.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -328,9 +328,9 @@ proc parseSpec*(filename: string): TSpec =
|
||||||
when defined(unix): result.err = reDisabled
|
when defined(unix): result.err = reDisabled
|
||||||
of "posix":
|
of "posix":
|
||||||
when defined(posix): result.err = reDisabled
|
when defined(posix): result.err = reDisabled
|
||||||
of "travis":
|
of "travis": # deprecated
|
||||||
if isTravis: result.err = reDisabled
|
if isTravis: result.err = reDisabled
|
||||||
of "appveyor":
|
of "appveyor": # deprecated
|
||||||
if isAppVeyor: result.err = reDisabled
|
if isAppVeyor: result.err = reDisabled
|
||||||
of "azure":
|
of "azure":
|
||||||
if isAzure: result.err = reDisabled
|
if isAzure: result.err = reDisabled
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@ discard """
|
||||||
OK AF_INET
|
OK AF_INET
|
||||||
OK AF_INET6
|
OK AF_INET6
|
||||||
'''
|
'''
|
||||||
disabled: "travis"
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import
|
import
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,3 @@
|
||||||
discard """
|
|
||||||
output: "15"
|
|
||||||
disabled: "appveyor"
|
|
||||||
"""
|
|
||||||
|
|
||||||
import memfiles
|
import memfiles
|
||||||
var inp = memfiles.open("tests/stdlib/tmemlinesBuf.nim")
|
var inp = memfiles.open("tests/stdlib/tmemlinesBuf.nim")
|
||||||
var buffer: string = ""
|
var buffer: string = ""
|
||||||
|
|
@ -11,5 +6,4 @@ for line in lines(inp, buffer):
|
||||||
lineCount += 1
|
lineCount += 1
|
||||||
|
|
||||||
close(inp)
|
close(inp)
|
||||||
|
doAssert lineCount == 9, $lineCount # this file's number of lines
|
||||||
echo lineCount
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@ discard """
|
||||||
cmd: "nim c --threads:on $file"
|
cmd: "nim c --threads:on $file"
|
||||||
exitcode: 0
|
exitcode: 0
|
||||||
output: "OK"
|
output: "OK"
|
||||||
disabled: "travis"
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os, net, nativesockets, asyncdispatch
|
import os, net, nativesockets, asyncdispatch
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,4 @@
|
||||||
discard """
|
# was: appveyor is "out of memory"
|
||||||
disabled: "appveyor"
|
|
||||||
"""
|
|
||||||
|
|
||||||
# appveyor is "out of memory"
|
|
||||||
|
|
||||||
var x: ptr int
|
var x: ptr int
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ joinable: false
|
||||||
disabled: 32bit
|
disabled: 32bit
|
||||||
"""
|
"""
|
||||||
# no point to test this on system with smaller address space
|
# no point to test this on system with smaller address space
|
||||||
# appveyor is "out of memory"
|
# was: appveyor is "out of memory"
|
||||||
|
|
||||||
const
|
const
|
||||||
nmax = 2*1024*1024*1024
|
nmax = 2*1024*1024*1024
|
||||||
|
|
|
||||||
11
unmaintained/readme.md
Normal file
11
unmaintained/readme.md
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
Deprecated, unused and unmaintained files can be moved here when they have some value,
|
||||||
|
e.g. if someone want to revive them in their project or in this repo. If a deprecated and unused file
|
||||||
|
is redundant, it should just be removed instead.
|
||||||
|
|
||||||
|
See also https://github.com/nim-lang/graveyard, which is maintained on a best effort basis
|
||||||
|
and has different goals.
|
||||||
|
|
||||||
|
## table of contents
|
||||||
|
.travis.yml -> unmaintained/.travis.yml
|
||||||
|
appveyor.yml.disabled -> unmaintained/appveyor.yml
|
||||||
|
.github/workflows/ci.yml.disabled -> unmaintained/ci.yml
|
||||||
Loading…
Add table
Add a link
Reference in a new issue