Skip to content

Commit

Permalink
Disable macOS builds for now
Browse files Browse the repository at this point in the history
Not ready yet
  • Loading branch information
sergeyklay committed Apr 27, 2020
1 parent a335f24 commit d4058f3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build-unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
matrix:
os:
- ubuntu-18.04
- macos-latest
# - macos-latest

php:
- '7.0'
Expand Down Expand Up @@ -109,9 +109,9 @@ jobs:
sudo rm -f /etc/apt/sources.list.d/dotnetdev.list
sudo rm -f /etc/apt/sources.list.d/azure*.list
- name: Install System Dependencies (macOS)
if: startsWith(runner.os, 'macOS')
run: brew install re2c
# - name: Install System Dependencies (macOS)
# if: startsWith(runner.os, 'macOS')
# run: brew install re2c

- name: Install System Dependencies (Linux)
if: startsWith(runner.os, 'Linux')
Expand Down Expand Up @@ -167,15 +167,15 @@ jobs:
zephir stubs
zephir api
- name: Compile Test Project (macOS)
if: startsWith(runner.os, 'macOS')
run: |
# These variables are needed to produce non optimized code
CFLAGS="-O0 -g"
CXXFLAGS="-O0 -g"
# - name: Compile Test Project (macOS)
# if: startsWith(runner.os, 'macOS')
# run: |
# # These variables are needed to produce non optimized code
# CFLAGS="-O0 -g"
# CXXFLAGS="-O0 -g"

# Export variables in the subshell to not shadow global variables
( export CFLAGS CXXFLAGS; zephir compile ) || false
# # Export variables in the subshell to not shadow global variables
# ( export CFLAGS CXXFLAGS; zephir compile ) || false

- name: Compile Test Project (Linux)
if: startsWith(runner.os, 'Linux')
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# [![Zephir][zephir logo]][web site]

[![Build on Linux][actions lin badge]][actions link]
[![Build on Windows][actions win badge]][actions link]
[![Build on Linux][actions unix]][actions link]
[![Build on Windows][actions windows]][actions link]
[![Latest Stable Version][version badge]][packagist link]
[![MIT License][license badge]](./LICENSE)

Expand Down Expand Up @@ -53,8 +53,8 @@ Zephir licensed under the MIT License. See the [LICENSE](./LICENSE) file for mor
[zephir logo]: https://assets.phalconphp.com/zephir/zephir_logo-105x36.svg
[web site]: https://zephir-lang.com
[actions link]: https://github.com/phalcon/zephir/actions
[actions lin badge]: https://github.com/phalcon/zephir/workflows/Linux%20CI/badge.svg
[actions win badge]: https://github.com/phalcon/zephir/workflows/Windows%20CI/badge.svg
[actions unix]: https://github.com/phalcon/zephir/workflows/Unix%20CI/badge.svg
[actions windows]: https://github.com/phalcon/zephir/workflows/Windows%20CI/badge.svg
[version badge]: https://poser.pugx.org/phalcon/zephir/v/stable.svg
[packagist link]: https://packagist.org/packages/phalcon/zephir
[license badge]: https://poser.pugx.org/phalcon/zephir/license.svg

0 comments on commit d4058f3

Please sign in to comment.