Unverified Commit 4cfe99a7 by Dominic Hamon Committed by GitHub

attempt #382 to get conditional steps working

parent c39a7a4e
...@@ -30,11 +30,9 @@ jobs: ...@@ -30,11 +30,9 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: install 32-bit - if: matrix.bits == '32'
if: ${{ matrix.bits }} == '32' name: install 32-bit
run: | run: sudo apt -y install g++-multilib libc6-i386
sudo apt update
sudo apt -y install g++-multilib libc6:i386
- name: create build environment - name: create build environment
run: cmake -E make_directory ${{ runner.workspace }}/_build run: cmake -E make_directory ${{ runner.workspace }}/_build
...@@ -85,8 +83,8 @@ jobs: ...@@ -85,8 +83,8 @@ jobs:
sudo apt update sudo apt update
sudo apt -y install clang-3.6 cmake3 g++-4.8 git sudo apt -y install clang-3.6 cmake3 g++-4.8 git
- name: install other bits - if: matrix.compiler == g++-6
if: ${{ matrix.compiler }} == g++-6 name: install other bits
run: | run: |
sudo apt -y install software-properties-common sudo apt -y install software-properties-common
sudo add-apt-repository -y "ppa:ubuntu-toolchain-r/test" sudo add-apt-repository -y "ppa:ubuntu-toolchain-r/test"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment