From 129ec4f3dac99f867ee7cf224e2153b0e3b58dce Mon Sep 17 00:00:00 2001 From: Sameer Srivastava Date: Wed, 24 Jul 2024 16:27:30 +0200 Subject: [PATCH] Test commit --- .github/workflows/benchmarks.yml | 2 -- .github/workflows/pullrequest_check.yml | 48 +++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 2 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index f4869116a..4312dce96 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -114,8 +114,6 @@ jobs: export PATH="/root/.cargo/bin:$PATH" . "/root/.cargo/env" source ~/.bashrc - export REPO_OWNER = 'esrlabs' - export REPO_NAME = 'chipmunk' ruby scripts/tools/run_benchmarks.rb 10 ls -la /chipmunk/chipmunk_performance_results env: diff --git a/.github/workflows/pullrequest_check.yml b/.github/workflows/pullrequest_check.yml index 912046fd7..d3e3373f6 100644 --- a/.github/workflows/pullrequest_check.yml +++ b/.github/workflows/pullrequest_check.yml @@ -99,8 +99,56 @@ jobs: ls -la ./ - name: Checkout uses: actions/checkout@v3 + - name: libudev-dev + run: | + sudo apt-get update && sudo apt-get install -y gconf-service libgbm-dev libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libnss3 lsb-release xdg-utils wget ca-certificates + sudo apt-get install -y libudev-dev cargo npm imagemagick libmagickwand-dev cmake + - name: install node + uses: actions/setup-node@v4 + with: + node-version: 22.4.0 + - name: Install Ruby and required gems + run: | + whoami + npm install -g corepack + corepack enable + curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - + echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list + apt-get update + sudo apt-get install -y yarn + yarn --version + apt update + apt-get install -y software-properties-common + apt-add-repository -y ppa:rael-gc/rvm + apt-get update + apt-get install -y rvm + echo 'source "/etc/profile.d/rvm.sh"' >> ~/.bashrc + source /etc/profile.d/rvm.sh + which rvm + rvm install ruby-3.1.2 + ruby --version + sudo chown -R $(whoami) /usr/local + rvm use 3.1.2 --default + rvm --version + rvm info + which rvm + ruby --version + - name: cargo install nj-cli + run: | + cargo install nj-cli --locked + cargo install wasm-pack --locked - name: Run Jasmine performance tests run: | + npm i -g tslib + export PATH="/usr/share/rvm:$PATH" + which ruby + ruby --version + pwd + gem install dotenv json octokit tmpdir fileutils + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y + export PATH="/root/.cargo/bin:$PATH" + . "/root/.cargo/env" + source ~/.bashrc echo "PR head repo: ${{ github.event.pull_request.head.repo.name }}" echo "PR head branch: ${{ github.event.pull_request.head.ref }}" echo "PR head owner: ${{ github.event.pull_request.head.repo.owner.login }}"