Skip to content

debugging

debugging #150

Workflow file for this run

name: test
on:
push:
branches: [master]
pull_request:
workflow_dispatch:
jobs:
test:
strategy:
fail-fast: false
matrix:
node: [20]
os: [macos-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: yarn
node-version: ${{matrix.node}}
- name: Install watchman
if: ${{ matrix.os == 'macos-latest' }}
run: |
wget https://github.com/facebook/watchman/releases/download/v2023.05.01.00/watchman-v2023.05.01.00-macos.zip
unzip watchman-*-macos.zip
cd watchman-v2023.05.01.00-macos
sudo mkdir -p /usr/local/{bin,lib} /usr/local/var/run/watchman
sudo cp bin/* /usr/local/bin
sudo cp lib/* /usr/local/lib
sudo chmod 755 /usr/local/bin/watchman
sudo chmod 2777 /usr/local/var/run/watchman
watchman -v
- name: Install watchman
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
wget https://github.com/facebook/watchman/releases/download/v2024.01.22.00/watchman-v2024.01.22.00-linux.zip
unzip watchman-*-linux.zip
cd watchman-v2024.01.22.00-linux
sudo mkdir -p /usr/local/{bin,lib} /usr/local/var/run/watchman
sudo cp bin/* /usr/local/bin
sudo cp lib/* /usr/local/lib
sudo chmod 755 /usr/local/bin/watchman
sudo chmod 2777 /usr/local/var/run/watchman
wget https://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb
watchman -v
- name: Copy watchman
if: ${{ matrix.os == 'windows-latest' }}
run: |
Copy-Item -Recurse -Path watchman -Destination $home
$env:PATH += ";$home\watchman\windows\bin"
Add-Content $env:GITHUB_PATH "$home\watchman\windows\bin"
watchman -v
- run: yarn --frozen-lockfile
- run: yarn build
# - run: yarn test
- name: Setup upterm session
uses: lhotari/action-upterm@v1
# test-freebsd:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Test in FreeBSD
# uses: vmactions/freebsd-vm@v1
# with:
# usesh: true
# prepare: |
# pkg install -y -f curl node libnghttp2 npm yarn
# echo "~~~~ node -v ~~~~"
# node -v
# echo "~~~~ yarn --version ~~~~"
# yarn --version
# run: |
# yarn --frozen-lockfile
# yarn build
# yarn test
# test-wasm:
# runs-on: ubuntu-latest
# container:
# image: emscripten/emsdk
# steps:
# - uses: actions/checkout@v3
# - run: corepack enable
# - uses: actions/setup-node@v3
# with:
# cache: yarn
# node-version: 18
# - run: yarn --frozen-lockfile
# - run: make wasm-debug
# - run: TEST_WASM=1 yarn test