Skip to content

Commit

Permalink
Test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmesamster committed Aug 7, 2024
1 parent 121c297 commit c4b6ea6
Showing 1 changed file with 50 additions and 52 deletions.
102 changes: 50 additions & 52 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,55 +23,55 @@ jobs:
rm -rf ./* || true
rm -rf ./.??* || true
ls -la ./
- name: Checkout
uses: actions/checkout@v3
- name: Install pre-requisite dependencies
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 other related tools
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: Prepare environment
run: |
npm i -g tslib
export PATH="/usr/share/rvm:$PATH"
which ruby
ruby --version
pwd
gem install dotenv json octokit tmpdir fileutils
- name: Get PR details
# - name: Checkout
# uses: actions/checkout@v3
# - name: Install pre-requisite dependencies
# 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 other related tools
# 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: Prepare environment
# run: |
# npm i -g tslib
# export PATH="/usr/share/rvm:$PATH"
# which ruby
# ruby --version
# pwd
# gem install dotenv json octokit tmpdir fileutils
- name: Get PR details 1
if: github.event_name == 'workflow_dispatch'
id: pr_details
uses: actions/github-script@v6
Expand All @@ -81,13 +81,11 @@ jobs:
script: |
const pr_id = parseInt(${{ github.event.inputs.pr_id }});
echo "pr_id is ${{ github.event.inputs.pr_id }}"
await (async () => {
const { data: pr } = await github.rest.pulls.get({
const { data: pr } = await github.rest.pulls.get({
owner: 'esrlabs',
repo: 'chipmunk',
pull_number: pr_id,
});
})();
core.setOutput('owner', pr.head.repo.owner.login);
core.setOutput('repo', pr.head.repo.name);
- name: Get PR details
Expand Down

0 comments on commit c4b6ea6

Please sign in to comment.