aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/test-macos.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/test-macos.yml')
-rw-r--r--.github/workflows/test-macos.yml58
1 files changed, 2 insertions, 56 deletions
diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml
index b14ce8633..048457234 100644
--- a/.github/workflows/test-macos.yml
+++ b/.github/workflows/test-macos.yml
@@ -35,7 +35,7 @@ jobs:
cc --version
- name: Checkout Yosys
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Get iverilog
shell: bash
@@ -44,7 +44,7 @@ jobs:
- name: Cache iverilog
id: cache-iverilog
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: .local/
key: ${{ matrix.os.id }}-${{ hashFiles('iverilog/.git/refs/heads/master') }}
@@ -71,57 +71,3 @@ jobs:
shell: bash
run: |
make -j${{ env.procs }} test CXXSTD=${{ matrix.cpp_std }} CC=cc CXX=cc LD=cc
-
-
- test-macos-homebrew:
- runs-on: ${{ matrix.os.id }}
- strategy:
- matrix:
- os:
- - { id: macos-10.15, name: Catalina }
- cpp_std:
- - 'c++17'
- compiler:
- - gcc
- fail-fast: false
- steps:
- - name: Install Dependencies
- run: |
- brew install bison flex gawk libffi pkg-config bash
-
- - name: Runtime environment
- shell: bash
- env:
- WORKSPACE: ${{ github.workspace }}
- run: |
- echo "GITHUB_WORKSPACE=`pwd`" >> $GITHUB_ENV
- echo "$GITHUB_WORKSPACE/.local/bin" >> $GITHUB_PATH
- echo "$(brew --prefix bison)/bin" >> $GITHUB_PATH
- echo "$(brew --prefix flex)/bin" >> $GITHUB_PATH
- echo "procs=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV
-
- - name: Setup compiler
- shell: bash
- run: |
- brew install ${{ matrix.compiler }}
- CC=${COMPILER/@/-}
- CXX=${CC/#gcc/g++}
- echo "CC=$CC" >> $GITHUB_ENV
- echo "CXX=$CXX" >> $GITHUB_ENV
- env:
- COMPILER: ${{ matrix.compiler }}
-
- - name: Tool versions
- shell: bash
- run: |
- $CC --version
- $CXX --version
-
- - name: Checkout Yosys
- uses: actions/checkout@v2
-
- - name: Build yosys
- shell: bash
- run: |
- make config-gcc
- make -j${{ env.procs }} CXXSTD=${{ matrix.cpp_std }} CC=$CC CXX=$CC LD=$CC