Skip to content
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

feat: big-endian support #3669

Merged
merged 36 commits into from
Jul 13, 2022
Merged
Show file tree
Hide file tree
Changes from 35 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
4cbc3b8
feat: build libzip with `-s SUPPORT_BIG_ENDIAN=1`
paul-soporan Oct 28, 2021
e7fa631
ci: add big-endian workflow
paul-soporan Oct 28, 2021
9d773e4
ci: remove --tty flag
paul-soporan Oct 28, 2021
281c64d
ci: only run the built bundle
paul-soporan Oct 28, 2021
d582852
ci: run entire test suite
paul-soporan Oct 28, 2021
2c83533
test: bump timeout on big-endian systems
paul-soporan Oct 28, 2021
ee460a4
test: remove outdated timeout in pnp.test.js
paul-soporan Oct 28, 2021
5106a84
test: bump timeout even more on BE systems
paul-soporan Oct 28, 2021
3a6202a
test: remove outdated timeout in rebuild.test.js
paul-soporan Oct 29, 2021
3c26d0b
test: remove more outdated timeouts
paul-soporan Oct 29, 2021
64158a3
refactor: lazy-import ink
paul-soporan Oct 29, 2021
9d9de33
test: bump LE timeout too
paul-soporan Oct 29, 2021
ec4c618
test: remove another outdated timeout
paul-soporan Oct 29, 2021
a9cf53b
test: tweak editorSdks.test.js timeout
paul-soporan Oct 29, 2021
63af84f
ci: mount $HOME too
paul-soporan Oct 29, 2021
da2889e
ci: debug (todo: drop this commit)
paul-soporan Oct 29, 2021
c70400d
Merge branch 'master' into paul/feat/big-endian-support
paul-soporan Mar 30, 2022
86f36ac
refactor: import ink directly
paul-soporan Mar 31, 2022
abc29ef
refactor: add back warning
paul-soporan Mar 31, 2022
bb58014
Merge branch 'master' into paul/feat/big-endian-suport
paul-soporan Mar 31, 2022
1618ead
test: run all tests again
paul-soporan Mar 31, 2022
406c154
chore: releases
paul-soporan Mar 31, 2022
9e290bb
Auto-merge with master
yarnbot Apr 18, 2022
143bada
chore: fix merge
paul-soporan Apr 18, 2022
2a324d3
test: fix BE tests
paul-soporan Apr 18, 2022
4354442
ci: fix command
paul-soporan Apr 18, 2022
4409555
ci: run all tests
paul-soporan Apr 18, 2022
0fd2805
ci: tweaks
paul-soporan Apr 18, 2022
d863cff
ci: run the unit tests too
paul-soporan Apr 18, 2022
c8aadcb
ci: debug
paul-soporan Apr 18, 2022
31d71b9
test: more timeout
paul-soporan Apr 19, 2022
c6b1130
ci: tweaks
paul-soporan Apr 19, 2022
2aeb794
Auto-merge with master
yarnbot May 4, 2022
68a806e
Auto-merge with master
yarnbot Jun 22, 2022
594c9c5
Merge branch 'master' into paul/feat/big-endian-suport
merceyz Jul 13, 2022
c5ab2e2
chore: versions
merceyz Jul 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,3 +227,39 @@ jobs:
shell: bash
if: |
success() || failure()

big-endian:
name: 'Big-endian debian w/ Node.js latest'
runs-on: ubuntu-latest
if: |
github.ref == 'refs/heads/master'
needs: build

steps:
- uses: actions/checkout@master

- uses: actions/download-artifact@v2
with:
name: yarn-artifacts
path: packages

# https://github.com/multiarch/qemu-user-static
- name: 'Enable execution of multi-arch containers'
run: |
docker run --rm --privileged multiarch/qemu-user-static --reset --persistent yes
shell: bash

# Apparently @babel/register is insanely slow inside the big-endian
# docker container, so we don't want to run yarn from sources at all.

- name: 'Run the integration tests'
run: |
docker run --rm --volume "$PWD:/berry" --env GITHUB_ACTIONS --env YARN_IGNORE_PATH=1 --workdir /berry s390x/node /bin/bash -c 'node ./packages/yarnpkg-cli/bundles/yarn.js test:integration --maxWorkers=100%'
shell: bash

- name: 'Run the unit tests'
run: |
docker run --rm --volume "$PWD:/berry" --env GITHUB_ACTIONS --env YARN_IGNORE_PATH=1 --workdir /berry s390x/node /bin/bash -c 'node ./packages/yarnpkg-cli/bundles/yarn.js test:unit --maxWorkers=100%'
shell: bash
if: |
success() || failure()
144 changes: 82 additions & 62 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 41 additions & 0 deletions .yarn/versions/11abead6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
releases:
"@yarnpkg/cli": minor
"@yarnpkg/core": minor
"@yarnpkg/fslib": minor
"@yarnpkg/libui": minor
"@yarnpkg/libzip": minor
"@yarnpkg/plugin-interactive-tools": minor
"@yarnpkg/plugin-pnp": minor
"@yarnpkg/plugin-version": minor
"@yarnpkg/pnp": minor
vscode-zipfs: minor

declined:
- "@yarnpkg/esbuild-plugin-pnp"
- "@yarnpkg/plugin-compat"
- "@yarnpkg/plugin-constraints"
- "@yarnpkg/plugin-dlx"
- "@yarnpkg/plugin-essentials"
- "@yarnpkg/plugin-exec"
- "@yarnpkg/plugin-file"
- "@yarnpkg/plugin-git"
- "@yarnpkg/plugin-github"
- "@yarnpkg/plugin-http"
- "@yarnpkg/plugin-init"
- "@yarnpkg/plugin-link"
- "@yarnpkg/plugin-nm"
- "@yarnpkg/plugin-npm"
- "@yarnpkg/plugin-npm-cli"
- "@yarnpkg/plugin-pack"
- "@yarnpkg/plugin-patch"
- "@yarnpkg/plugin-pnpm"
- "@yarnpkg/plugin-stage"
- "@yarnpkg/plugin-typescript"
- "@yarnpkg/plugin-workspace-tools"
- "@yarnpkg/builder"
- "@yarnpkg/doctor"
- "@yarnpkg/json-proxy"
- "@yarnpkg/nm"
- "@yarnpkg/pnpify"
- "@yarnpkg/sdks"
- "@yarnpkg/shell"
7 changes: 7 additions & 0 deletions packages/acceptance-tests/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
extends: require.resolve(`../../.eslintrc.js`),
env: {
jest: true,
jasmine: true,
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ describe(`Commands`, () => {
`postinstall`,
]);
}),
30000,
);

test(
Expand Down Expand Up @@ -72,7 +71,6 @@ describe(`Commands`, () => {
`postinstall`,
]);
}),
30000,
);
});
});
Loading