Skip to content

Commit

Permalink
Add linux-arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-larraz committed May 23, 2024
1 parent dabccc2 commit 91a1f60
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
platform: [linux-x64, darwin-x64, darwin-arm64]
platform: [linux-x64, linux-arm64, darwin-x64, darwin-arm64]
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- platform: linux-x64
target:
z3_static: z3-static
- platform: linux-arm64
target: --target linux-arm64
- platform: darwin-x64
target: --target darwin-x64
- platform: darwin-arm64
Expand Down
8 changes: 8 additions & 0 deletions configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ case "$1" in
OSTYPE=linux
ARCH=x86_64
;;
linux-arm64)
OSTYPE=linux
ARCH=arm64
;;
linux*)
OSTYPE=linux
;;
Expand Down Expand Up @@ -50,6 +54,10 @@ case "$OSTYPE" in
Z3_OS_VERSION=x64-glibc-2.31
KIND2_OS_VERSION=linux-x86_64
;;
arm64)
Z3_OS_VERSION=arm64-glibc-2.35
KIND2_OS_VERSION=linux-arm64
;;
*)
echo "unsupported ARCH: $ARCH";
exit 2;;
Expand Down

0 comments on commit 91a1f60

Please sign in to comment.