-
Notifications
You must be signed in to change notification settings - Fork 10
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
2 changed files
with
57 additions
and
6 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,51 @@ | ||
name: Accuracy Checks | ||
|
||
on: [push, pull_request, workflow_dispatch] | ||
|
||
jobs: | ||
linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Fetch Source Code | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Install Dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y meson ninja-build libsdl2-dev libglew-dev libgtk-3-dev libreadline-dev libedit-dev libcapstone-dev | ||
- name: Build Hades w/ Debugger | ||
run: | | ||
meson build --werror -Dwith_debugger=true | ||
cd build | ||
ninja | ||
- name: Check Accuracy | ||
run: | | ||
cat << EOF | ./build/hades | ||
r | ||
f 10 | ||
r | ||
EOF | ||
# windows: | ||
# runs-on: windows-latest | ||
# defaults: | ||
# run: | ||
# shell: msys2 {0} | ||
# steps: | ||
# - name: Fetch Source Code | ||
# uses: actions/checkout@v4 | ||
# with: | ||
# submodules: 'recursive' | ||
# - name: Install Dependencies | ||
# uses: msys2/setup-msys2@v2 | ||
# with: | ||
# install: make mingw-w64-x86_64-meson mingw-w64-x86_64-ninja mingw-w64-x86_64-pkg-config mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL2 mingw-w64-x86_64-glew mingw-w64-x86_64-readline mingw-w64-x86_64-wineditline mingw-w64-x86_64-capstone | ||
# - name: Build Hades /w Debugger | ||
# run: | | ||
# meson build -Dwith_debugger=true | ||
# cd build | ||
# ninja | ||
# - name: Check Accuracy | ||
# run: | | ||
# ./build/Hades.exe --help |