forked from visualboyadvance-m/visualboyadvance-m
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
176 changed files
with
13,010 additions
and
350,552 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,27 @@ | ||
name: macOS Latest Build | ||
on: [push, pull_request] | ||
#on: workflow_dispatch | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
cmake_build: ['-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_BUILD_TYPE=Debug'] | ||
cmake_options: ['', '-DENABLE_LINK=OFF', '-DENABLE_SDL=ON'] | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout the code | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install Dependencies | ||
run: >- | ||
bash installdeps | ||
- name: Install nix | ||
uses: cachix/install-nix-action@v22 | ||
with: | ||
nix_path: nixpkgs=channel:nixos-unstable | ||
- name: Configure | ||
run: >- | ||
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug | ||
nix-shell --command 'cmake -B build -G Ninja ${{ matrix.cmake_build }} ${{ matrix.cmake_options }}' | ||
- name: Build | ||
run: ninja -C build | ||
run: >- | ||
nix-shell --command 'ninja -C build' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,37 @@ | ||
name: MSYS2 Build | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
env: | ||
MSYSTEM: CLANG64 | ||
defaults: | ||
run: | ||
shell: msys2 {0} | ||
|
||
steps: | ||
- name: Checkout the code | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
- name: Setup msys2 | ||
uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: CLANG64 | ||
update: true | ||
install: >- | ||
mingw-w64-clang-x86_64-toolchain | ||
mingw-w64-clang-x86_64-pkgconf | ||
mingw-w64-clang-x86_64-ffmpeg | ||
mingw-w64-clang-x86_64-FAudio | ||
mingw-w64-clang-x86_64-cmake | ||
mingw-w64-clang-x86_64-ninja | ||
mingw-w64-clang-x86_64-wxWidgets3.2 | ||
mingw-w64-clang-x86_64-sfml | ||
mingw-w64-clang-x86_64-SDL2 | ||
zip | ||
- name: Configure | ||
run: >- | ||
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DVBAM_STATIC=ON -DENABLE_SSP=ON -DENABLE_ONLINEUPDATES=OFF | ||
- name: Build | ||
run: ninja -C build | ||
|
||
- name: Install | ||
run: ninja -C build install | ||
name: MSYS2 Build | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
cmake_build: ['-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_BUILD_TYPE=Debug'] | ||
cmake_options: ['', '-DENABLE_LINK=OFF', '-DENABLE_SDL=ON'] | ||
runs-on: windows-latest | ||
env: | ||
MSYSTEM: CLANG64 | ||
defaults: | ||
run: | ||
shell: msys2 {0} | ||
|
||
steps: | ||
- name: Checkout the code | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
- name: Setup msys2 | ||
uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: CLANG64 | ||
update: true | ||
- name: Install deps | ||
run: >- | ||
bash installdeps | ||
- name: Configure | ||
run: >- | ||
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug ${{ matrix.cmake_build }} ${{ matrix.cmake_options }} | ||
- name: Build | ||
run: ninja -C build | ||
|
||
- name: Install | ||
run: ninja -C build install |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Visual Studio Build | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
msvc_arch: ['x64', 'x64_x86'] | ||
cmake_generator: ['Ninja'] | ||
# cmake_generator: ['Ninja', '"Visual Studio 17 2022"'] | ||
cmake_build: ['-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_BUILD_TYPE=Debug'] | ||
cmake_options: ['', '-DENABLE_LINK=OFF', '-DENABLE_SDL=ON'] | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout the code | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Prepare Visual Studio environment | ||
uses: ilammy/[email protected] | ||
with: | ||
arch: ${{ matrix.msvc_arch }} | ||
|
||
- name: Configure (x64) | ||
if: matrix.msvc_arch == 'x64' | ||
run: >- | ||
cmake -B build -G ${{ matrix.cmake_generator }} -DVCPKG_TARGET_TRIPLET=x64-windows-static ${{ matrix.cmake_build }} ${{ matrix.cmake_options }} | ||
- name: Configure (x86) | ||
if: matrix.msvc_arch == 'x64_x86' | ||
run: >- | ||
cmake -B build -G ${{ matrix.cmake_generator }} -DVCPKG_TARGET_TRIPLET=x86-windows-static ${{ matrix.cmake_build }} ${{ matrix.cmake_options }} | ||
- name: Build | ||
run: cmake --build build |
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
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
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
Oops, something went wrong.