Skip to content

Commit

Permalink
TEMP - testing build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ptomato committed Nov 4, 2024
1 parent fcb35e2 commit e34e9e0
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 38 deletions.
21 changes: 0 additions & 21 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,6 @@ execution_steps: &execution_steps
- run: hostPath=$HOME/.esvu/bin/$hostPath npm run ci

jobs:
"Test262: verify tools; build tests":
docker:
- image: cimg/python:3.7.4
working_directory: ~/test262
steps:
- checkout
- run:
name: "Install requirements for generation tool"
command: python -m pip install --user --requirement tools/generation/requirements.txt
- run:
name: "Test the generation tool"
command: ./tools/generation/test/run.py
- run:
name: "Build tests; check for new changes"
command: ./tools/scripts/ci_build.sh
# - run:
# name: "Run deploy"
# command: ./tools/scripts/deploy.sh
"V8: New or modified tests execution":
docker:
- image: *node_image
Expand Down Expand Up @@ -126,9 +108,6 @@ jobs:
<<: [*execution_steps]
workflows:
version: 2
Tools:
jobs:
- "Test262: verify tools; build tests"
Tests execution:
jobs:
# - "ChakraCore: New or modified tests execution"
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/tools-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,37 @@ jobs:
echo $file
done
./tools/lint/lint.py --exceptions lint.exceptions "$CHANGED"
build:
name: Build generated tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: pip
- name: Install dependencies for generation tool
run: |
python -m pip install --upgrade pip
pip install -r tools/generation/requirements.txt
- name: Install dependencies for regexp-generator tool
run: |
cd tools/regexp-generator
npm install
- name: Test the generation tool
run: ./tools/generation/test/run.py
- name: Build tests
run: |
./make.py clean >/dev/null
./make.py
- name: Verify changes
- uses: tj-actions/verify-changed-files@v20
with:
fail-if-changed: true
fail-message: |
New changes were found after re-generating the tests.
Please read the documentation on procedurally generated tests
https://github.com/tc39/test262/blob/HEAD/CONTRIBUTING.md#procedurally-generated-tests
17 changes: 0 additions & 17 deletions tools/scripts/ci_build.sh

This file was deleted.

0 comments on commit e34e9e0

Please sign in to comment.