Skip to content

Commit

Permalink
ci: add macos support via github actions
Browse files Browse the repository at this point in the history
Install newer version bash via homebrew.
Also print debug info about the current bash.
  • Loading branch information
tmfink committed Apr 21, 2024
1 parent e962232 commit ce599df
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Expand Up @@ -18,6 +18,7 @@ jobs:
os:
- ubuntu-latest
- windows-latest
- macos-latest
runs-on: ${{ matrix.os }}

steps:
Expand Down
6 changes: 6 additions & 0 deletions capstone-rs/ci/test.sh
Expand Up @@ -14,6 +14,12 @@
# - SKIP_CARGO_UPDATE: set to disable "cargo update" part of tests
# - VALGRIND_TESTS: run tests under Valgrind

# Useful debug info
echo "BASH=${BASH}"
echo "BASH_VERSION=${BASH_VERSION}"
echo "BASH_OPTIONS=$-"
echo "BASH_COMPAT=${BASH_COMPAT}"

set -euo pipefail
set -x

Expand Down

0 comments on commit ce599df

Please sign in to comment.