diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml new file mode 100644 index 0000000000..7ab8cce093 --- /dev/null +++ b/.github/workflows/linux.yml @@ -0,0 +1,45 @@ +# This is a basic workflow to help you get started with Actions + +name: Linux CI + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + # Setup CMake + - name: Setup CMake + uses: Symbitic/install-cmake@v0.1.1 + with: + platform: linux + # Setup Packages + - name: Setup Packages + run: sudo apt update && sudo apt upgrade && sudo apt install curl ffmpeg git libao-dev libasound-dev libavcodec-dev libavformat-dev libbluetooth-dev libevdev-dev libgtk2.0-dev libhidapi-dev libmbedtls-dev libminiupnpc-dev libopenal-dev libpangocairo-1.0-0 libpulse-dev libsfml-dev libswscale-dev libudev-dev libusb-1.0-0-dev libwxbase3.0-dev libwxgtk3.0-dev libxrandr-dev qt5-default qtbase5-private-dev + # Run CMake + - name: Run CMake + run: mkdir build && cd build && cmake .. -G Ninja -DLINUX_LOCAL_DEV=true + # Build Project + - name: Run Make + run: cd build && ninja -j4 + # Configure Dolphin + - name: Configure Dolphin + run: cd build && cp -r ../Data/Sys/ Binaries/ && cp -r ../Data/User/ Binaries/ && cp -r ../Data/dolphin-emu.png Binaries/ && touch Binaries/portable.txt + # Upload Artifact + - name: Upload Build Artifact + uses: actions/upload-artifact@v2 + with: + name: DolphinMPN-Linux + path: /home/runner/work/dolphin-mpn-advanced-src/dolphin-mpn-advanced-src/build/Binaries/ diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000000..43125129a4 --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,48 @@ +# This is a basic workflow to help you get started with Actions + +name: macOS CI + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: macos-latest + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + # Setup CMake + - name: Setup CMake + uses: Symbitic/install-cmake@v0.1.1 + with: + platform: mac + # Setup Packages + - name: Setup Packages + run: brew install qt5 pkgconfig + # Use Static ZSTD + - name: Remove ZSTD + run: brew uninstall zstd curl php --force --ignore-dependencies + # Run CMake + - name: Run CMake + run: mkdir -p build && cd build && cmake .. -G Ninja -DCMAKE_CXX_FLAGS="-Xclang -fcolor-diagnostics" -DCMAKE_PREFIX_PATH=$(brew --prefix qt5) + # Build Project + - name: Run Ninja + run: cd build && ninja -j4 + # Configure Dolphin + - name: Configure Dolphin + run: cd build && cp -r ../Data/Sys/ Binaries/ && cp -r ../Data/User/ Binaries/ && cp -r ../Data/dolphin-emu.png Binaries/ && touch Binaries/portable.txt + # Upload Artifact + - name: Upload Build Artifact + uses: actions/upload-artifact@v2 + with: + name: DolphinMPN-macOS + path: /Users/runner/work/dolphin-mpn-advanced-src/dolphin-mpn-advanced-src/build/Binaries/ diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 7242192251..5f458879d7 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -31,10 +31,10 @@ jobs: vs-version: '16.6.2' # Run MSBuild - name: Build Solution - run: msbuild "D:\a\dolphin-mpn-src\dolphin-mpn-src\Source\dolphin-emu.sln" /verbosity:minimal /property:Configuration=Release /property:Platform=x64 + run: msbuild "D:\a\dolphin-mpn-advanced-src\dolphin-mpn-advanced-src\Source\dolphin-emu.sln" /verbosity:minimal /property:Configuration=Release /property:Platform=x64 # Upload Artifact - name: Upload Build Artifact uses: actions/upload-artifact@v2 with: name: DolphinMPN-win32 - path: D:\a\dolphin-mpn-src\dolphin-mpn-src\Binary\x64 + path: D:\a\dolphin-mpn-advanced-src\dolphin-mpn-advanced-src\Binary\x64 \ No newline at end of file diff --git a/Data/dolphin-emu.png b/Data/dolphin-emu.png index c9d5b6836a..2ae36a4903 100644 Binary files a/Data/dolphin-emu.png and b/Data/dolphin-emu.png differ diff --git a/Source/Android/app/src/main/res/layout/fragment_ingame_menu.xml b/Source/Android/app/src/main/res/layout/fragment_ingame_menu.xml index 04e996bfda..71dd4b6ad8 100644 --- a/Source/Android/app/src/main/res/layout/fragment_ingame_menu.xml +++ b/Source/Android/app/src/main/res/layout/fragment_ingame_menu.xml @@ -43,8 +43,9 @@