Workflow yaml multiline string

This commit is contained in:
Lauri Räsänen 2024-04-25 05:41:18 +03:00
parent 69b85c83fe
commit fcf85fd1e2

View file

@ -5,8 +5,8 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest]
buildtype: ['debug', 'release']
arch: ['x86', 'x64'] arch: ['x86', 'x64']
buildtype: ['debug', 'release']
runs-on: ${{matrix.os}} runs-on: ${{matrix.os}}
steps: steps:
- name: Checkout this repo - name: Checkout this repo
@ -15,9 +15,10 @@ jobs:
path: 'hl2sdk-starter' path: 'hl2sdk-starter'
submodules: 'recursive' submodules: 'recursive'
- name: Install dependencies - name: Install dependencies
run: sudo apt-get update && \ run: >
sudo apt-get install gcc gcc-multilib g++ g++-multilib \ sudo apt-get update &&
python3 python3-pip python3-setuptools python3-wheel ninja-build && \ sudo apt-get install gcc gcc-multilib g++ g++-multilib
python3 python3-pip python3-setuptools python3-wheel ninja-build &&
pip3 install --user meson pip3 install --user meson
- name: Build ${{matrix.arch}} ${{matrix.buildtype}} - name: Build ${{matrix.arch}} ${{matrix.buildtype}}
run: cd ${{ github.workspace }}/hl2sdk-starter && \ run: cd ${{ github.workspace }}/hl2sdk-starter && \