Install system packages before checking out the repo.
This commit is contained in:
11
.github/workflows/build-on-pull-request.yml
vendored
11
.github/workflows/build-on-pull-request.yml
vendored
@@ -10,18 +10,17 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- shell: bash
|
|
||||||
run: git config --global core.autocrlf input
|
|
||||||
|
|
||||||
- name: Checkout Source
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install linuxdoc-tools-info gcc-mingw-w64-x86-64
|
sudo apt-get install linuxdoc-tools-info gcc-mingw-w64-x86-64
|
||||||
|
|
||||||
|
- shell: bash
|
||||||
|
run: git config --global core.autocrlf input
|
||||||
|
- name: Checkout Source
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Build the tools.
|
- name: Build the tools.
|
||||||
shell: bash
|
shell: bash
|
||||||
run: make -j2 bin USER_CFLAGS=-Werror
|
run: make -j2 bin USER_CFLAGS=-Werror
|
||||||
|
|||||||
11
.github/workflows/snapshot-on-push-master.yml
vendored
11
.github/workflows/snapshot-on-push-master.yml
vendored
@@ -34,18 +34,17 @@ jobs:
|
|||||||
needs: build_windows
|
needs: build_windows
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- shell: bash
|
|
||||||
run: git config --global core.autocrlf input
|
|
||||||
|
|
||||||
- name: Checkout Source
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install linuxdoc-tools-info gcc-mingw-w64-x86-64 gcc-mingw-w64-i686
|
sudo apt-get install linuxdoc-tools-info gcc-mingw-w64-x86-64 gcc-mingw-w64-i686
|
||||||
|
|
||||||
|
- shell: bash
|
||||||
|
run: git config --global core.autocrlf input
|
||||||
|
- name: Checkout Source
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Build the tools.
|
- name: Build the tools.
|
||||||
shell: bash
|
shell: bash
|
||||||
run: make -j2 bin USER_CFLAGS=-Werror
|
run: make -j2 bin USER_CFLAGS=-Werror
|
||||||
|
|||||||
Reference in New Issue
Block a user