add: madhyasthal+jit/x64: GTE and GTEI impl #485
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test262 | ||
| on: push | ||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| 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 }} | ||
| - name: Build Balde | ||
| uses: docker://fedora:latest | ||
| with: | ||
| args: | | ||
| bash -c " | ||
| sudo dnf install cmake make gcc gcc-c++ gmp gmp-devel libicu-devel git -y && | ||
| curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh && | ||
| chmod +x ./init.sh && | ||
| git config --global --add safe.directory /github/workspace && | ||
| git clone https://github.com/simdutf/simdutf && cd simdutf && cmake . && sudo make install -j$(nproc) && cd .. && | ||
| ./init.sh --yes && | ||
| export PATH="$HOME/.nimble/bin:$PATH" && | ||
| nimble build --define:release --define:speed --out:./ && | ||
| ls bin/ | ||
| " | ||
| - name: Get a copy of the Test262 suite | ||
| with: | ||
| args: git clone https://github.com/tc39/test262.git | ||
| - name: Run Balde against the Test262 suite | ||
| with: | ||
| args: ./bin/test262 run-all-tests-rec . | ||