name: Compile run-name: Compiling the software on: [push] jobs: Compile: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v3 - run: apt install gcc-15 - run: g++ --version - name: Compile software run: g++ -std=c++23 main.cpp -o program - name: Execute program run: ./program