-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from klei1984/menu-integration
Menu integration
- Loading branch information
Showing
367 changed files
with
79,546 additions
and
426,621 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
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,10 @@ | ||
set disassembly-flavor intel | ||
skip -file smartpointer.hpp | ||
skip -file smartobjectarray.hpp | ||
skip -file smartstring.cpp | ||
skip -file smartstring.hpp | ||
skip -file sortedarray.hpp | ||
skip -file sortedenum.hpp | ||
skip -file smartarray.hpp | ||
skip -file smartlist.hpp | ||
skip -file point.hpp |
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,100 +1,102 @@ | ||
name: Build Workflow | ||
on: | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- '**.md' | ||
- '**.yml' | ||
- '**/doc' | ||
|
||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
paths-ignore: | ||
- '**.md' | ||
- '**.yml' | ||
- '**/doc' | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- '**.md' | ||
- '**.yml' | ||
- '**/doc' | ||
|
||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
paths-ignore: | ||
- '**.md' | ||
- '**.yml' | ||
- '**/doc' | ||
|
||
jobs: | ||
Linux-i386: | ||
runs-on: ubuntu-18.04 | ||
|
||
env: | ||
BUILD_DIR: build | ||
BUILD_TYPE: Debug | ||
|
||
steps: | ||
- name: Setup Dependencies | ||
run: | | ||
sudo dpkg --add-architecture i386 | ||
sudo apt-get update -y -qq | ||
sudo apt-get install -y -qq build-essential gcc-multilib g++-multilib libsdl2-dev:i386 libsdl2-mixer-dev:i386 libsdl2-image-dev:i386 libsdl2-ttf-dev:i386 libsdl2-net-dev:i386 | ||
- name: Setup Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build | ||
run: |- | ||
mkdir $BUILD_DIR | ||
cd $BUILD_DIR | ||
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_INSTALL_PREFIX=/usr/local -DSDL2_DIR=/usr/lib/i386-linux-gnu/cmake/SDL2 .. | ||
cmake --build . | ||
- name: Package | ||
run: | | ||
cd $BUILD_DIR | ||
cpack | ||
mkdir Artifacts | ||
cp *.deb Artifacts/ | ||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: build artifacts | ||
path: ${{env.BUILD_DIR}}/Artifacts | ||
|
||
Windows-i386: | ||
runs-on: windows-2019 | ||
env: | ||
BUILD_DIR: build | ||
BUILD_TYPE: Debug | ||
|
||
defaults: | ||
run: | ||
shell: msys2 {0} | ||
|
||
steps: | ||
- name: Install MSYS2 | ||
uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: MINGW32 | ||
|
||
- name: Setup Dependencies | ||
run: | | ||
pacman -S --noconfirm git mingw-w64-i686-toolchain mingw32/mingw-w64-i686-SDL2 mingw32/mingw-w64-i686-SDL2_mixer mingw32/mingw-w64-i686-SDL2_image mingw32/mingw-w64-i686-SDL2_ttf mingw32/mingw-w64-i686-SDL2_net mingw32/mingw-w64-i686-cmake make | ||
- name: Setup Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build & Package | ||
run: | | ||
cmake/mingw32-i686-build.sh | ||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: build artifacts | ||
path: ${{env.BUILD_DIR}}/Artifacts | ||
Linux-i386: | ||
runs-on: ubuntu-18.04 | ||
|
||
env: | ||
BUILD_DIR: build | ||
BUILD_TYPE: Debug | ||
|
||
steps: | ||
- name: Setup Dependencies | ||
run: | | ||
sudo dpkg --add-architecture i386 | ||
sudo apt-get update -y -qq | ||
sudo apt-get install -y -qq build-essential gcc-multilib g++-multilib libsdl2-dev:i386 libsdl2-mixer-dev:i386 libsdl2-net-dev:i386 ninja-build:i386 | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build | ||
run: |- | ||
mkdir $BUILD_DIR | ||
cd $BUILD_DIR | ||
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_INSTALL_PREFIX=/usr/local .. | ||
cmake --build . --parallel | ||
- name: Package | ||
run: | | ||
cd $BUILD_DIR | ||
cpack | ||
mkdir Artifacts | ||
cp *.deb Artifacts/ | ||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: build artifacts | ||
path: ${{env.BUILD_DIR}}/Artifacts | ||
|
||
Windows-i386: | ||
runs-on: windows-2019 | ||
env: | ||
BUILD_DIR: build | ||
BUILD_TYPE: Debug | ||
|
||
defaults: | ||
run: | ||
shell: msys2 {0} | ||
|
||
steps: | ||
- name: Install MSYS2 | ||
uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: MINGW32 | ||
|
||
- name: Setup Dependencies | ||
run: | | ||
pacman -S --noconfirm git mingw-w64-i686-toolchain mingw32/mingw-w64-i686-SDL2 mingw32/mingw-w64-i686-SDL2_mixer mingw32/mingw-w64-i686-SDL2_net mingw32/mingw-w64-i686-cmake mingw-w64-x86_64-ninja make | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build | ||
run: |- | ||
export PATH=$PATH:/mingw32/bin | ||
mkdir $BUILD_DIR | ||
cd $BUILD_DIR | ||
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_INSTALL_PREFIX="C:/Program Files (x86)/max" .. | ||
cmake --build . --parallel | ||
- name: Package | ||
run: | | ||
cd $BUILD_DIR | ||
cpack | ||
mkdir Artifacts | ||
cp *-win32.exe Artifacts/ | ||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: build artifacts | ||
path: ${{env.BUILD_DIR}}/Artifacts |
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
|
||
jobs: | ||
Release: | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- name: Create Release | ||
|
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.