Implement clz
(count leading zeroes) in Javascript (#956)
#175
This file contains 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: JS STDLIB | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
test-js-stdlib: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install deps | |
run: yarn | |
- name: Run tests | |
run: npm test | |
test-js-gpgpu: | |
runs-on: [self-hosted, macOS] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install deps | |
run: yarn | |
- name: Bundle stdlib | |
run: yarn bundle | |
- name: Set up Playwright | |
run: yarn playwright install | |
- name: Start webserver | |
run: yarn start-server | |
- name: Test GPGPU | |
run: yarn test-gpgpu | |
- name: Stop webserver | |
if: always() | |
run: yarn stop-server |