run apt update in workflow before installing packages
This commit is contained in:
parent
500a257ca3
commit
3e350185f8
1 changed files with 8 additions and 0 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -9,6 +9,8 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Checkout submodules
|
- name: Checkout submodules
|
||||||
run: git submodule update --init --recursive
|
run: git submodule update --init --recursive
|
||||||
|
- name: update apt
|
||||||
|
run: sudo apt update
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: sudo apt install -y cmake gcc g++
|
run: sudo apt install -y cmake gcc g++
|
||||||
- name: cmake
|
- name: cmake
|
||||||
|
@ -24,6 +26,8 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Checkout submodules
|
- name: Checkout submodules
|
||||||
run: git submodule update --init --recursive
|
run: git submodule update --init --recursive
|
||||||
|
- name: update apt
|
||||||
|
run: sudo apt update
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: sudo apt install -y cmake gcc g++
|
run: sudo apt install -y cmake gcc g++
|
||||||
- name: cmake
|
- name: cmake
|
||||||
|
@ -39,6 +43,8 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Checkout submodules
|
- name: Checkout submodules
|
||||||
run: git submodule update --init --recursive
|
run: git submodule update --init --recursive
|
||||||
|
- name: update apt
|
||||||
|
run: sudo apt update
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: sudo apt install -y cmake clang
|
run: sudo apt install -y cmake clang
|
||||||
- name: cmake
|
- name: cmake
|
||||||
|
@ -58,6 +64,8 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Checkout submodules
|
- name: Checkout submodules
|
||||||
run: git submodule update --init --recursive
|
run: git submodule update --init --recursive
|
||||||
|
- name: update apt
|
||||||
|
run: sudo apt update
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: sudo apt install -y cmake clang
|
run: sudo apt install -y cmake clang
|
||||||
- name: cmake
|
- name: cmake
|
||||||
|
|
Loading…
Reference in a new issue