Update #596
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: Build & 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-16 main | |
repo-name: llvm-toolchain | |
keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key | |
update: true | |
install: clang-16 llvm-16 | |
- name: Update Alternatives | |
run: | | |
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-16 100 | |
sudo update-alternatives --set clang /usr/bin/clang-16 | |
- name: Python 3.9 Time | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Install requirements | |
run: | | |
python3.9 -m pip install tatsu requests | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Do the thing | |
run: | | |
python3.9 travis.py | |