CI: move apt install to ubuntu.yml

test
Syping 1 year ago
parent 0ff2718cab
commit 4e06444e40
  1. 3
      .ci/ubuntu_install.sh
  2. 2
      .github/workflows/ubuntu.yml

@ -1,3 +0,0 @@
#!/bin/bash
apt-get update -qq
apt-get install cmake git gcc g++ make ninja-build -qq

@ -17,7 +17,7 @@ jobs:
with:
submodules: recursive
- name: Install packages
run: sudo .ci/ubuntu_install.sh
run: sudo apt-get update -qq && sudo apt-get install cmake git gcc g++ make ninja-build -qq
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -GNinja
- name: Build

Loading…
Cancel
Save