mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 22:52:23 +00:00
Updates to github workflows to work with gh act
* Run `apt-get update` before installing packages, as the local VM may not have these packages already installed like the github.com runners do. * Add bison, flex, and texinfo, as they may not already be on the local VM as they may be on the github.com runners. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
This commit is contained in:
parent
2932dd280a
commit
0ffe914322
2
.github/workflows/build-toolchains.yml
vendored
2
.github/workflows/build-toolchains.yml
vendored
@ -66,7 +66,7 @@ jobs:
|
|||||||
- name: prereq Linux
|
- name: prereq Linux
|
||||||
if: ${{ runner.os == 'Linux' }}
|
if: ${{ runner.os == 'Linux' }}
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y gperf help2man libtool-bin meson ninja-build
|
sudo apt-get update && sudo apt-get install -y bison flex gperf help2man libtool-bin meson ninja-build texinfo
|
||||||
echo "${{ github.workspace }}/.local/bin" >> "$GITHUB_PATH"
|
echo "${{ github.workspace }}/.local/bin" >> "$GITHUB_PATH"
|
||||||
- name: prereq macOS
|
- name: prereq macOS
|
||||||
if: ${{ runner.os == 'macOS' }}
|
if: ${{ runner.os == 'macOS' }}
|
||||||
|
@ -17,7 +17,7 @@ jobs:
|
|||||||
- name: "prereq Linux"
|
- name: "prereq Linux"
|
||||||
if: ${{ runner.os == 'Linux' }}
|
if: ${{ runner.os == 'Linux' }}
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y gperf help2man libtool-bin meson ninja-build
|
sudo apt-get update && sudo apt-get install -y bison flex gperf help2man libtool-bin meson ninja-build texinfo
|
||||||
- name: "prereq macOS"
|
- name: "prereq macOS"
|
||||||
if: ${{ runner.os == 'macOS' }}
|
if: ${{ runner.os == 'macOS' }}
|
||||||
run: |
|
run: |
|
||||||
@ -80,7 +80,7 @@ jobs:
|
|||||||
- name: "prereq Linux"
|
- name: "prereq Linux"
|
||||||
if: ${{ runner.os == 'Linux' }}
|
if: ${{ runner.os == 'Linux' }}
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y gperf help2man libtool-bin
|
sudo apt-get update && sudo apt-get install -y bison flex gperf help2man libtool-bin texinfo
|
||||||
echo "$GITHUB_WORKSPACE/.local/bin" >> "$GITHUB_PATH"
|
echo "$GITHUB_WORKSPACE/.local/bin" >> "$GITHUB_PATH"
|
||||||
- name: "ct-ng source"
|
- name: "ct-ng source"
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user