Merge branch 'main' of https://github.com/QuantumChemist/LobsterPyGUI #49
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: Build LobsterPyGUI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-desktop: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Qt for Desktop | |
uses: jurplel/install-qt-action@v2 | |
with: | |
version: '5.15.2' | |
host: 'linux' | |
target: 'desktop' | |
arch: 'gcc_64' | |
dir: '$HOME/Qt' | |
- name: Set up Qt environment for Desktop | |
run: | | |
echo "export QTDIR=$HOME/Qt/5.15.2/gcc_64" >> $GITHUB_ENV | |
echo "export PATH=$HOME/Qt/5.15.2/gcc_64/bin:\$PATH" >> $GITHUB_ENV | |
echo "export LD_LIBRARY_PATH=$HOME/Qt/5.15.2/gcc_64/lib:\$LD_LIBRARY_PATH" >> $GITHUB_ENV | |
shell: bash | |
# - name: Source environment | |
# run: | | |
# source $HOME/Qt/5.15.2/gcc_64/bin/qt-env.sh | |
# qmake --version | |
# shell: bash | |
# - name: Install build dependencies | |
# run: sudo apt-get install -y build-essential | |
# - name: Build project | |
# working-directory: ./src | |
# run: | | |
# qmake | |
# make | |
# shell: bash |