-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
test i386 #25520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: devel
Are you sure you want to change the base?
test i386 #25520
Changes from all commits
b2e6390
a54f713
802cf3d
1e14855
8ec10dc
503a95b
decd9b3
dacd72a
a4cf69c
c52568e
ac13131
31f188d
920814e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,33 +1,6 @@ | ||||||||||||||||||
| name: Nim Docs CI | ||||||||||||||||||
| on: | ||||||||||||||||||
|
||||||||||||||||||
| on: | |
| on: | |
| push: | |
| branches: | |
| - devel | |
| pull_request: | |
| branches: | |
| - devel |
Copilot
AI
Feb 16, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The concurrency group references github.event.pull_request.number, but the workflow trigger has been changed to workflow_dispatch only. This will result in an undefined/empty value for the pull request number, potentially causing issues with concurrency control.
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| group: ${{ github.workflow }}-${{ github.ref }} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,99 @@ | ||
| name: i386 Linux CI | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: | ||
| - '*' | ||
| workflow_dispatch: | ||
|
|
||
|
|
||
| jobs: | ||
| build: | ||
| strategy: | ||
| fail-fast: false | ||
| max-parallel: 20 | ||
| matrix: | ||
| branch: [devel] | ||
| target: | ||
| - os: linux | ||
| cpu: i386 | ||
| nim_branch: devel | ||
| include: | ||
| - target: | ||
| os: linux | ||
| builder: ubuntu-24.04 | ||
|
|
||
| name: '${{ matrix.target.os }}-${{ matrix.target.cpu }}-nim-${{ matrix.target.nim_branch }} (${{ matrix.branch }})' | ||
| runs-on: ${{ matrix.builder }} | ||
| env: | ||
| NIM_DIR: nim-${{ matrix.target.nim_branch }}-${{ matrix.target.cpu }} | ||
| NIM_BRANCH: ${{ matrix.target.nim_branch }} | ||
| NIM_ARCH: ${{ matrix.target.cpu }} | ||
| steps: | ||
| - name: set `core.autocrlf` to false | ||
| run: | | ||
| git config --global core.autocrlf false | ||
| git config --global init.defaultBranch master | ||
|
|
||
| - name: Checkout | ||
| uses: actions/checkout@v6 | ||
| with: | ||
| submodules: false | ||
|
|
||
| - name: Install dependencies (Linux i386) | ||
| if: runner.os == 'Linux' && matrix.target.cpu == 'i386' | ||
| working-directory: ${{ github.workspace }} | ||
| run: | | ||
| sudo dpkg --add-architecture i386 | ||
| sudo apt-get update -qq | ||
| sudo DEBIAN_FRONTEND='noninteractive' apt-get install \ | ||
| --no-install-recommends -yq gcc-multilib g++-multilib \ | ||
| libssl-dev:i386 | ||
|
|
||
| mkdir -p external/bin | ||
| cat << EOF > external/bin/gcc | ||
| #!/bin/bash | ||
|
|
||
| exec $(which gcc) -m32 "\$@" | ||
| EOF | ||
|
|
||
| cat << EOF > external/bin/g++ | ||
| #!/bin/bash | ||
|
|
||
| exec $(which g++) -m32 "\$@" | ||
| EOF | ||
|
|
||
| chmod 755 external/bin/gcc external/bin/g++ | ||
|
|
||
| echo "$PWD/external/bin" >> "${GITHUB_PATH}" | ||
|
|
||
| - name: Add repo bin to PATH | ||
| run: echo "${GITHUB_WORKSPACE}/bin" >> ${GITHUB_PATH} | ||
|
|
||
| - name: Setup Nim | ||
| uses: alaviss/setup-nim@0.1.1 | ||
| with: | ||
| path: 'nim' | ||
| version: ${{ matrix.target.nim_branch }} | ||
| architecture: ${{ matrix.target.cpu }} | ||
|
|
||
| # - name: Build koch using existing nim | ||
| # run: | | ||
| # nim c koch.nim | ||
|
|
||
| # - name: Boot the compiler from the checked-out commit | ||
| # shell: bash | ||
| # run: | | ||
| # ./koch boot -d:release | ||
|
|
||
| # - name: Show nim version and system info | ||
| # run: | | ||
| # bin/nim -v || true | ||
| # uname -a || true | ||
|
|
||
| - name: Run talign test (i386) | ||
| shell: bash | ||
| run: | | ||
| set -euo pipefail | ||
| export PATH="${GITHUB_WORKSPACE}/bin:$PATH" | ||
| nim c -r --lib:lib --mm:refc -d:useGcAssert -d:useSysAssert tests/align/talign.nim |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,13 +1,6 @@ | ||||||||||||||||||||||
| name: Packages CI | ||||||||||||||||||||||
| on: | ||||||||||||||||||||||
|
||||||||||||||||||||||
| on: | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - devel | |
| pull_request: | |
| branches: | |
| - master | |
| - devel |
Copilot
AI
Feb 16, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR title is "test i386" which suggests the intent is to test i386 support. However, the changes disable nearly all existing CI workflows (Azure Pipelines, packages CI, docs CI, bisects, stale PR management, and publish CI) by either commenting them out or changing them to manual-only triggers. Only the new i386 workflow would run automatically. This appears to be a testing/development branch that shouldn't be merged as-is, as it would effectively disable the project's entire CI infrastructure except for a single i386 test.
Copilot
AI
Feb 16, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The concurrency group references github.event.pull_request.number, but the workflow trigger has been changed to workflow_dispatch only, which doesn't have a pull_request event. This will cause the concurrency group to have an undefined/empty value for the pull request number when triggered manually.
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| group: ${{ github.workflow }}-${{ github.ref }} |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,8 +1,7 @@ | ||||||||||
| name: Tracking orc-booting compiler memory usage | ||||||||||
|
|
||||||||||
| on: | ||||||||||
| pull_request_target: | ||||||||||
| types: [closed] | ||||||||||
| workflow_dispatch: | ||||||||||
|
|
||||||||||
|
|
||||||||||
|
Comment on lines
5
to
6
|
||||||||||
| pull_request_target: | |
| types: | |
| - closed |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -2,8 +2,7 @@ | |||||||||
| name: Stale pull requests | ||||||||||
|
|
||||||||||
| on: | ||||||||||
|
||||||||||
| on: | |
| on: | |
| schedule: | |
| - cron: "0 0 * * *" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This workflow has been changed from issue_comment trigger to workflow_dispatch. However, the job condition on line 9 checks for github.event_name == 'issue_comment', which will never be true when triggered manually via workflow_dispatch. This effectively disables the bisects functionality entirely.