check for meta #12
Workflow file for this run
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 | |
on: | |
push: | |
branches: | |
- gh-actions | |
pull_request: | |
branches: | |
- gh-actions | |
jobs: | |
# build-windows: | |
# runs-on: windows-latest | |
# strategy: | |
# matrix: | |
# configuration: [Release] # [Debug, Release]; No need to build Debug, but leaving here if we want it later | |
# steps: | |
# - name: Checkout code | |
# uses: actions/checkout@v2 | |
# - name: Set up MSBuild | |
# uses: microsoft/setup-msbuild@v1 | |
# - name: Initialize submodules | |
# run: git submodule update --init | |
# shell: powershell | |
# - name: Build | |
# run: | | |
# msbuild Source\Dolphin-memory-engine.sln /p:Configuration=${{ matrix.configuration }} /p:Platform=x64 /p:Verbosity=normal | |
# shell: powershell | |
# - name: Copy LICENSE | |
# run: | | |
# copy .\LICENSE .\Source\bin\${{ matrix.configuration }} | |
# shell: powershell | |
# - name: Publish Artifacts | |
# uses: actions/upload-artifact@v2 | |
# with: | |
# name: windows-${{ matrix.configuration }}-build | |
# path: Source\bin\${{ matrix.configuration }}\ | |
build-linux: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
# - name: Set up CMake | |
# run: | | |
# sudo apt-get update | |
# sudo apt-get install -y cmake | |
# shell: bash | |
- name: Install Qt 5.15.4 | |
run: | | |
sudo add-apt-repository -y ppa:beineri/opt-qt-5.15.4-focal | |
sudo apt-get update | |
sudo apt-get install -y qt515-meta-minimal | |
shell: bash | |
# - name: Install GCC 13 and G++ 13 | |
# run: | | |
# sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y | |
# sudo apt-get update | |
# sudo apt-get install g++-13 gcc-13 -y | |
# sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 90 | |
# sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 90 | |
- name: Set up Qt environment | |
run: | | |
source /opt/qt515/bin/qt515-env.sh | |
shell: bash | |
- name: Build | |
run: | | |
cd Source | |
mkdir build | |
cd build | |
cmake .. | |
make | |
shell: bash | |
- name: Copy LICENSE | |
run: | | |
cp ../LICENSE ./Source/build/ | |
shell: bash | |
- name: Publish Artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: linux-ubuntu-focal-build | |
path: Source/build |