Merge branch 'master' of https://github.com/Princess-org/Princess #503
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: 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-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/[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 | |