GHA CI: Simplify commands

This commit is contained in:
Chocobo1
2021-11-17 15:53:27 +08:00
parent 36a6e22f27
commit 7150d05399
4 changed files with 28 additions and 16 deletions

View File

@@ -78,9 +78,12 @@ jobs:
- name: Install libtorrent
run: |
git clone --branch v${{ matrix.libt_version }} --depth 1 https://github.com/arvidn/libtorrent.git
git clone `
--branch v${{ matrix.libt_version }} `
--depth 1 `
--recurse-submodules `
https://github.com/arvidn/libtorrent.git
cd libtorrent
git submodule update --init --recursive
cmake `
-B build `
-G "Ninja" `