Initial erc tests #18
Workflow file for this run
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: test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install emacs | |
uses: purcell/setup-emacs@master | |
with: | |
version: 29.1 | |
- name: Install Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9" | |
architecture: "x64" | |
- name: Install debugpy | |
run: | | |
pip3 install debugpy | |
- name: Download codelldb | |
run: | | |
sudo apt install wget | |
mkdir -p ~/.emacs.d/debug-adapters/codelldb/ | |
wget https://github.com/vadimcn/codelldb/releases/download/v1.10.0/codelldb-x86_64-linux.vsix | |
unzip codelldb-x86_64-linux.vsix -d ~/.emacs.d/debug-adapters/codelldb/ | |
- name: Download js-debug | |
run: | | |
sudo apt install wget | |
mkdir -p ~/.emacs.d/debug-adapters/ | |
wget https://github.com/microsoft/vscode-js-debug/releases/download/v1.84.0/js-debug-dap-v1.84.0.tar.gz | |
tar -xvzf js-debug-dap-v1.84.0.tar.gz -C ~/.emacs.d/debug-adapters | |
- name: Install Ruby and rdbg | |
run: | | |
git clone https://github.com/rbenv/rbenv.git ~/.rbenv | |
cd ~/.rbenv && src/configure --prefix=~/.rbenv && make -C src && make -C src install | |
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build | |
git clone https://github.com/rbenv/rbenv-shims.git ~/.rbenv/plugins/rbenv-shims | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
eval "$(rbenv init -)" | |
rbenv global 2.7.3 | |
gem install debug | |
- name: Build | |
run: make all | |
- name: Test | |
run: make check |