Skip to content

Commit

Permalink
Manual brew install of Python3 in Darwin workflow pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Oct 10, 2024
1 parent 1b6e8f7 commit 9620e72
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build_ci_darwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: |
brew update
brew upgrade
brew install libomp python3
brew install python3 libomp
brew reinstall llvm
- name: Build Zhivo
Expand All @@ -35,21 +35,21 @@ jobs:
- name: Run test scripts (x86)
run: |
start=$(date +%s%3N)
./dist/zhivo-darwin-x86_64 ./test/arithmetic.zhv
./dist/zhivo-darwin-x86_64 ./test/array.zhv
./dist/zhivo-darwin-x86_64 ./test/digits.zhv
./dist/zhivo-darwin-x86_64 ./test/error_handling.zhv
./dist/zhivo-darwin-x86_64 ./test/flow.zhv
./dist/zhivo-darwin-x86_64 ./test/func.zhv
./dist/zhivo-darwin-x86_64 ./test/loop.zhv
./dist/zhivo-darwin-x86_64 ./test/parallel.zhv
./dist/zhivo-darwin-x86_64 ./test/regex.zhv
./dist/zhivo-darwin-x86_64 ./test/test.zhv
./dist/zhivo-darwin-x86_64 ./test/types.zhv
./dist/zhivo-darwin-arm64 ./test/arithmetic.zhv
./dist/zhivo-darwin-arm64 ./test/array.zhv
./dist/zhivo-darwin-arm64 ./test/digits.zhv
./dist/zhivo-darwin-arm64 ./test/error_handling.zhv
./dist/zhivo-darwin-arm64 ./test/flow.zhv
./dist/zhivo-darwin-arm64 ./test/func.zhv
./dist/zhivo-darwin-arm64 ./test/loop.zhv
./dist/zhivo-darwin-arm64 ./test/parallel.zhv
./dist/zhivo-darwin-arm64 ./test/regex.zhv
./dist/zhivo-darwin-arm64 ./test/test.zhv
./dist/zhivo-darwin-arm64 ./test/types.zhv
end=$(date +%s%3N)
echo "Elapsed time: $((end - start)) ms"
- name: Run examples (x86)
run: |
/usr/bin/time -v ./dist/zhivo-darwin-x86_64 ./examples/hello.zhv
/usr/bin/time -v ./dist/zhivo-darwin-x86_64 ./examples/99-beers.zhv
/usr/bin/time -v ./dist/zhivo-darwin-arm64 ./examples/hello.zhv
/usr/bin/time -v ./dist/zhivo-darwin-arm64 ./examples/99-beers.zhv

0 comments on commit 9620e72

Please sign in to comment.