diff options
author | Tina Müller <cpan2@tinita.de> | 2020-05-29 23:07:16 +0200 |
---|---|---|
committer | Ingy döt Net <ingy@ingy.net> | 2020-06-22 10:21:14 -0700 |
commit | acd6f6f014c25e46363e718381e0b35205df2d83 (patch) | |
tree | 59c59fd0ed36780185320f9748ea3e6054887297 /.github/workflows/main.yml | |
parent | 2c891fc7a770e8ba2fec34fc6b545c672beb37e6 (diff) | |
download | libyaml-git-acd6f6f014c25e46363e718381e0b35205df2d83.tar.gz |
Add workflow for creating release tarballsrelease/test
Also minor cleanup of .github/workflows/main.yml
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r-- | .github/workflows/main.yml | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c2bdef4..e8ec497 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,6 +10,8 @@ jobs: build: + env: + CC: ${{ matrix.compiler }} runs-on: ${{ matrix.os }} strategy: matrix: @@ -25,12 +27,11 @@ jobs: - run: env | sort - name: Install software + if: ${{ matrix.os == 'macOS-latest' }} run: | - if [[ '${{ matrix.os }}' == macOS-latest ]]; then - brew install automake bash coreutils make - echo ::add-path::/usr/local/opt/coreutils/libexec/gnubin - echo ::add-path::/usr/local/opt/make/libexec/gnubin - fi + brew install automake bash coreutils make + echo ::add-path::/usr/local/opt/coreutils/libexec/gnubin + echo ::add-path::/usr/local/opt/make/libexec/gnubin - name: Fetch branches run: | git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/* @@ -48,12 +49,6 @@ jobs: - name: Compiler version run: ${{ matrix.compiler }} --version - env: - CC: ${{ matrix.compiler }} - run: cmake . - env: - CC: ${{ matrix.compiler }} - run: make - env: - CC: ${{ matrix.compiler }} - run: make test |