mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 14:42:26 +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
.github/workflows
2
.github/workflows/build-toolchains.yml
vendored
2
.github/workflows/build-toolchains.yml
vendored
@ -66,7 +66,7 @@ jobs:
|
||||
- name: prereq Linux
|
||||
if: ${{ runner.os == 'Linux' }}
|
||||
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"
|
||||
- name: prereq macOS
|
||||
if: ${{ runner.os == 'macOS' }}
|
||||
|
@ -17,7 +17,7 @@ jobs:
|
||||
- name: "prereq Linux"
|
||||
if: ${{ runner.os == 'Linux' }}
|
||||
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"
|
||||
if: ${{ runner.os == 'macOS' }}
|
||||
run: |
|
||||
@ -80,7 +80,7 @@ jobs:
|
||||
- name: "prereq Linux"
|
||||
if: ${{ runner.os == 'Linux' }}
|
||||
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"
|
||||
- name: "ct-ng source"
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user