Skip to content

Commit

Permalink
(add) add test262 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
xTrayambak committed Dec 10, 2024
1 parent 4ba938e commit 26e1932
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test262.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Testing
on: push

steps:
- uses: actions/checkout@v4
- name: Cache nimble
id: cache-nimble
uses: actions/cache@v4
with:
path: ~/.nimble
key: ${{ runner.os }}-nimble-${{ hashFiles('*.nimble') }}
restore-keys: |
${{ runner.os }}-nimble-
- uses: jiro4989/setup-nim-action@v2
with:
nim-version: '2.2.0'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: nimble build --define:release
- run: git clone https://github.com/tc39/test262.git
- run: ./bin/test262 run-all-tests-rec .

0 comments on commit 26e1932

Please sign in to comment.