-
Notifications
You must be signed in to change notification settings - Fork 34
49 lines (39 loc) · 1.13 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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: 28.2
- 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.85.0/js-debug-dap-v1.85.0.tar.gz
tar -xvzf js-debug-dap-v1.85.0.tar.gz -C ~/.emacs.d/debug-adapters
- name: Build
run: make all
- name: Test
run: make test