Skip to content

Commit

Permalink
Add Linux workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GinOwO committed Sep 30, 2023
1 parent b0e9dd6 commit 9b8e33e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/c-cpp-build-linux.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build Linux

on:
push:
branches:
- main

env:
QT_VERSION: "6.5.0"
BUILD_TYPE: Release
COMPILER: gcc_64
BUILD_GEN: "Ninja Multi-Config"
COMPILER_PATH: ${{github.workspace}}/qt/Qt/6.5.0/gcc_64

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: ${{ env.QT_VERSION }}

- name: Install Ninja
run: sudo apt-get install ninja-build

- name: Build
run: cmake -S . -B build -G "${{ env.BUILD_GEN }}" && cmake --build build --config ${{ env.BUILD_TYPE }}
2 changes: 1 addition & 1 deletion src/ui/startwindow.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "startwindow.h"
#include "./ui_startwindow.h"
#include "ui_startwindow.h"
#include "mainwindow.h"
#include "mazesolve.h"

Expand Down

0 comments on commit 9b8e33e

Please sign in to comment.