Skip to content

Bump socket.io-parser from 3.3.3 to 3.3.4 in /node #747

Bump socket.io-parser from 3.3.3 to 3.3.4 in /node

Bump socket.io-parser from 3.3.3 to 3.3.4 in /node #747

Workflow file for this run

name: Building and testing
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-and-test-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- id: install-python-deps
run: pip3 install -r requirements.txt
- id: build-meson
run: mkdir install && meson builddir --prefix $(pwd)/install && cd builddir && ninja && ninja install
- id: running-pytest
run: cd tests; pytest
build-and-test-linux-dyn-lib:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- id: install-python-deps
run: pip3 install -r requirements.txt
- id: build-meson
run: mkdir install && meson builddir --prefix $(pwd)/install && cd builddir && ninja && ninja install
- id: build-dyn-lib
run: cd src/sdk_lib && meson builddir && cd builddir && ninja && cd .. && cp ../../install/bin/ric . && echo 'builddir/libric_extended_lib_example.so.1.0.0' > ric_modules.txt
- id: test-dyn-lib
run: cd src/sdk_lib && pytest
build-and-test-windows:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, windows-2019]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- id: install-python-deps
run: pip3 install -r requirements.txt
- id: build-meson
run: mkdir install; meson builddir --prefix ${pwd}\install; cd builddir; ninja; ninja install
- id: running-pytest
run: cd tests; pytest
test-advent-of-code-solutions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- id: install-python-deps
run: pip3 install -r requirements.txt
- id: build-meson
run: mkdir install && meson builddir --prefix $(pwd)/install && cd builddir && ninja && ninja install
- id: clone-advent-of-code
run: git clone https://x-access-token:${{ secrets.PIPELINE_PAT }}@github.com/ricardicus/ric-script-advent-of-code.git && cp builddir/src/ric ric-script-advent-of-code/ric-script
- id: run-advenct-of-code-tests
run: cd ric-script-advent-of-code/tests && pytest
build-and-test-windows-dyn-lib:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, windows-2019]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- id: install-python-deps
run: pip3 install -r requirements.txt
- id: build-meson
run: mkdir install; meson builddir --prefix ${pwd}\install; cd builddir; ninja; ninja install
- id: build-dyn-lib
run: cd src\sdk_lib && meson builddir && cd builddir && ninja && cd .. && copy ..\..\install\bin\libpcre.dll . && copy ..\..\install\bin\ric.exe . && copy tests\ric_modules.txt .
- id: test-dyn-lib
run: cd src/sdk_lib && pytest