-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (34 loc) · 1.02 KB
/
build-and-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
name: Built & Test on Ubuntu
on: push
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y valgrind
sudo apt-get install -y binutils-dev
- name: Add Toolchain PPA
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
- name: Add debian repository
uses: myci-actions/add-deb-repo@10
with:
repo: deb http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main
repo-name: llvm-toolchain
keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key
update: true
install: clang-13 llvm-13
- name: Python 3.9 Time
uses: actions/[email protected]
with:
python-version: '3.9'
- name: Install requirements
run: |
python3.9 -m pip install tatsu requests
- name: Checkout
uses: actions/checkout@v3
- name: Do the thing
run: |
python3.9 travis.py