Skip to content

Commit

Permalink
Add build from source
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDTill committed Nov 7, 2024
1 parent 1b3cd38 commit 830ad2d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/source_instructions.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Compile
apt-get install cmake python3 qt5-default qtbase5-dev, qtchooser, qt5-qmake, qtbase5-dev-tools, libqt5svg5-dev
pip3 install conan
git clone https://github.com/JohnDTill/Forscape
cd ./Forscape
conan install --generator cmake_find_package --install-folder build/conan-dependencies app
cmake -DCMAKE_BUILD_TYPE=Release -B build -S app
cd build
make

# Run
#./Forscape
15 changes: 15 additions & 0 deletions .github/workflows/source_instructions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Build from source (ubuntu-latest gcc)
on: push
# on:
# pull_request:
# push:
# branches: main
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: permissions
run: chmod +x "${GITHUB_WORKSPACE}/.github/workflows/build_from_source.sh"
- id: build
run: ${GITHUB_WORKSPACE}/.github/workflows/build_from_source.sh

0 comments on commit 830ad2d

Please sign in to comment.