Skip to content

Merge pull request #37 from Haliris/find_start_unint_fix #177

Merge pull request #37 from Haliris/find_start_unint_fix

Merge pull request #37 from Haliris/find_start_unint_fix #177

name: Compile build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update
sudo apt-get install -y gcc-10 g++-10 libreadline-dev libbsd-dev libx11-dev libxext-dev libxrender-dev libxrandr-dev libxi-dev
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10
- name: Verify GCC version
run: gcc --version
- name: Run Makefile
run: make all