Skip to content

update gcc version on macos runners #170

update gcc version on macos runners

update gcc version on macos runners #170

Workflow file for this run

name: Build and Test
on: [push, pull_request]
jobs:
check-build:
runs-on: ubuntu-20.04
container:
image: traviswheelerlab/awfmindex-build
volumes:
- ${{ github.workspace }}:/code
steps:
- uses: actions/checkout@v1
- run: git submodule update --init
- run: cmake .
- run: make
check-build-mac:
runs-on: macos-14
steps:
- uses: actions/checkout@v1
- run: git submodule update --init
- run: cmake -DCMAKE_C_COMPILER=`which gcc-12` .
- run: make || true
check-legacy-build:
runs-on: ubuntu-20.04
container:
image: traviswheelerlab/awfmindex-build
volumes:
- ${{ github.workspace }}:/code
steps:
- uses: actions/checkout@v1
- run: make -f Makefile_legacy
- run: make -f Makefile_legacy static
check-legacy-build-mac:
runs-on: macos-14
steps:
- uses: actions/checkout@v1
- run: make -f Makefile_legacy CC=`which gcc-12`
- run: make -f Makefile_legacy static
check-format:
runs-on: ubuntu-20.04
container:
image: traviswheelerlab/awfmindex-build
volumes:
- ${{ github.workspace }}:/code
steps:
- uses: actions/checkout@v1
- run: ./tool/check-format.sh || true