added newline #11
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: C++ Build and Test | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Install GCC 13 | |
run: | | |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y | |
sudo apt-get update | |
sudo apt-get install -y gcc-13 g++-13 | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 100 | |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 100 | |
- name: Install CMake | |
run: | | |
sudo apt-get install -y cmake | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Build and Test | |
run: | | |
mkdir build | |
cd build | |
cmake .. | |
cmake --build . | |
cd .. | |
python tools/test_runner.py build/src/laszlo test |