-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Build arm64 Windows executable * Use dbghelp to print a stacktrace and use addr2line as last resort * Print stack depth * Cleanup windows.c includes + use OS_Basename + define [RX]_OK ourselves * Cannot do _access(X_OK) on Windows * SymInitialize: don't invade process * Use _access_s * Ignore failure to get symbol line and line number * Only consider using addr2line when ADDR2LINE is set
- Loading branch information
Showing
2 changed files
with
214 additions
and
45 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 |
---|---|---|
|
@@ -15,11 +15,12 @@ jobs: | |
strategy: | ||
matrix: | ||
platform: | ||
- { name: 'Linux', arch: 'x64', os: ubuntu-latest, werror: true } | ||
- { name: 'Linux', arch: 'arm64', os: ubuntu-latest, werror: true, cmake-toolchain-file: 'cmake/toolchains/linux-aarch64.cmake', apt-packages: 'gcc-aarch64-linux-gnu g++-aarch64-linux-gnu', cross: true } | ||
- { name: 'MacOS', arch: 'arm64-x64', os: macos-latest, werror: true, cmake-args: '-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"' } | ||
- { name: 'Windows', arch: 'Win32', os: windows-latest } | ||
- { name: 'Windows', arch: 'x64', os: windows-latest } | ||
- { name: 'Linux', arch: 'x64', os: ubuntu-latest, werror: true } | ||
- { name: 'Linux', arch: 'arm64', os: ubuntu-latest, werror: true, cmake-toolchain-file: 'cmake/toolchains/linux-aarch64.cmake', apt-packages: 'gcc-aarch64-linux-gnu g++-aarch64-linux-gnu', cross: true } | ||
- { name: 'MacOS', arch: 'arm64-x64', os: macos-latest, werror: true, cmake-args: '-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"' } | ||
- { name: 'Windows', arch: 'x86', os: windows-latest, msvc-arch: 'Win32' } | ||
- { name: 'Windows', arch: 'x64', os: windows-latest, msvc-arch: 'x64' } | ||
# - { name: 'Windows', arch: 'arm64', os: windows-latest, msvc-arch: 'amd64_arm64', cross: true } | ||
|
||
defaults: | ||
run: | ||
|
@@ -33,9 +34,9 @@ jobs: | |
- name: Set up Ninja | ||
uses: aseprite/get-ninja@main | ||
- uses: ilammy/[email protected] | ||
if: runner.os == 'Windows' | ||
if: ${{ !!matrix.platform.msvc-arch }} | ||
with: | ||
arch: ${{ matrix.platform.arch }} | ||
arch: ${{ matrix.platform.msvc-arch }} | ||
- name: Install Linux dependencies | ||
if: ${{ runner.os == 'Linux' }} | ||
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