Skip to content

Commit

Permalink
Merge branch 'devel' into fix10833
Browse files Browse the repository at this point in the history
  • Loading branch information
bung87 authored Apr 25, 2023
2 parents 48d4006 + 897dff6 commit a984ac0
Show file tree
Hide file tree
Showing 864 changed files with 24,048 additions and 18,707 deletions.
20 changes: 10 additions & 10 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,39 +11,39 @@ body:
Reports with a reproducible example and descriptive detailed information will likely receive fixes faster.
- type: textarea
id: what-happened
id: description
attributes:
label: What happened?
label: Description
description: |
Use DETAILED DESCRIPTIVE information about the problem.
Here, you go into more details about your Bug report. This section can be a few paragraphs long.
placeholder: Bug reports with full repro code and detailed information will be fixed faster.
placeholder: Bug reports with reproducible code and detailed information will be fixed faster.
validations:
required: true

- type: textarea
id: nim-version
attributes:
label: Nim Version
description: Please run `nim -v` on the command line.
description: Copy and paste the output of `nim -v` on the command line. For development versions, make sure to include the commit hash.
validations:
required: true

- type: textarea
id: current-logs
attributes:
label: Current Standard Output Logs
label: Current Output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
placeholder: Bug reports with full repro code and detailed information will be fixed faster.
render: shell
placeholder: Bug reports with reproducible code and detailed information will be fixed faster.
render: text

- type: textarea
id: expected-logs
attributes:
label: Expected Standard Output Logs
label: Expected Output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
placeholder: Bug reports with full repro code and detailed information will be fixed faster.
render: shell
placeholder: Bug reports with reproducible code and detailed information will be fixed faster.
render: text

- type: textarea
id: possible-solution
Expand Down
5 changes: 2 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,9 @@ body:
- type: textarea
id: Examples
attributes:
label: Standard Output Examples
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
label: Examples
description: Provide examples for your feature request here.
placeholder: Example code here.
render: shell

- type: textarea
id: incompatibility
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
- 'tools/kochdocs.nim'
- '.github/workflows/ci_docs.yml'
- 'koch.nim'

pull_request:
# Run only on changes on these files.
paths:
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/ci_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- 'devel'
- 'version-2-0'
- 'version-1-6'
- 'version-1-2'

Expand All @@ -27,12 +28,12 @@ jobs:
NIM_TESTAMENT_BATCH: ${{ matrix.batch }}
steps:
- name: 'Checkout'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: 'Install node.js 16.x'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '16.x'

Expand All @@ -46,8 +47,7 @@ jobs:
valgrind libc6-dbg libblas-dev xorg-dev
- name: 'Install dependencies (macOS)'
if: runner.os == 'macOS'
run: |
brew install boehmgc make sfml gtk+3
run: brew install boehmgc make sfml gtk+3
- name: 'Install dependencies (Windows)'
if: runner.os == 'Windows'
shell: bash
Expand All @@ -71,5 +71,4 @@ jobs:

- name: 'koch, Run CI'
shell: bash
run: |
. ci/funs.sh && nimInternalBuildKochAndRunCI
run: . ci/funs.sh && nimInternalBuildKochAndRunCI
4 changes: 2 additions & 2 deletions .github/workflows/ci_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: 'Checkout'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: 'Install node.js 16.x'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '16.x'

Expand Down
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
!*.*

# Cache
nimcache/
rnimcache/
dnimcache/
nimcache*/
rnimcache*/
dnimcache*/

*.o
!/icons/*.o
Expand Down Expand Up @@ -67,6 +67,7 @@ testament.db

/csources
/csources_v1
/csources_v2

/dist/
# /lib/fusion # fusion is now unbundled; `git status` should reveal if it's there so users can act on it
Expand Down
10 changes: 5 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
vmImage: 'ubuntu-20.04'
CPU: amd64
# regularly breaks, refs bug #17325
Linux_i386:
# on 'ubuntu-16.04' (not supported anymore anyways) it errored with:
# g++-multilib : Depends: gcc-multilib (>= 4:5.3.1-1ubuntu1) but it is not going to be installed
vmImage: 'ubuntu-18.04'
CPU: i386
# Linux_i386:
# # on 'ubuntu-16.04' (not supported anymore anyways) it errored with:
# # g++-multilib : Depends: gcc-multilib (>= 4:5.3.1-1ubuntu1) but it is not going to be installed
# vmImage: 'ubuntu-18.04'
# CPU: i386
OSX_amd64:
vmImage: 'macOS-11'
CPU: amd64
Expand Down
4 changes: 2 additions & 2 deletions bin/nim-gdb
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ which nim > /dev/null || (echo "nim not in PATH"; exit 1)
which gdb > /dev/null || (echo "gdb not in PATH"; exit 1)
which readlink > /dev/null || (echo "readlink not in PATH."; exit 1)

if [[ "$(uname -s)" == "Darwin" || "(uname -s)" == *"BSD" ]]; then
if [[ $(uname -s) == Darwin || $(uname -s) == *BSD ]]; then
NIM_SYSROOT=$(dirname $(dirname $(readlink -f $(which nim))))
else
NIM_SYSROOT=$(dirname $(dirname $(readlink -e $(which nim))))
fi

# Find out where the pretty printer Python module is
GDB_PYTHON_MODULE_PATH="$NIM_SYSROOT/tools/nim-gdb.py"
GDB_PYTHON_MODULE_PATH="$NIM_SYSROOT/tools/debug/nim-gdb.py"

# Run GDB with the additional arguments that load the pretty printers
# Set the environment variable `NIM_GDB` to overwrite the call to a
Expand Down
2 changes: 1 addition & 1 deletion bin/nim-gdb.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ for %%i in (nim.exe) do (set NIM_BIN=%%~dp$PATH:i)

for %%i in ("%NIM_BIN%\..\") do (set NIM_ROOT=%%~fi)

set @GDB_PYTHON_MODULE_PATH=%NIM_ROOT%\tools\nim-gdb.py
set @GDB_PYTHON_MODULE_PATH=%NIM_ROOT%\tools\debug\nim-gdb.py
set @NIM_GDB=gdb.exe

@echo source %@GDB_PYTHON_MODULE_PATH%> wingdbcommand.txt
Expand Down
Loading

0 comments on commit a984ac0

Please sign in to comment.