diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2024-03-27 15:07:50 -0700 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2024-04-21 13:24:50 +1200 |
commit | 0ffe914322dc0590355d3253c5f6ed3ce468ef0f (patch) | |
tree | 866b8103176329de50b37122fe9cc6c886f2bafb /.github/workflows/build-toolchains.yml | |
parent | 2932dd280add39a7ae4f35c7312f0bef96616970 (diff) | |
download | crosstool-ng-0ffe914322dc0590355d3253c5f6ed3ce468ef0f.tar.gz crosstool-ng-0ffe914322dc0590355d3253c5f6ed3ce468ef0f.tar.bz2 crosstool-ng-0ffe914322dc0590355d3253c5f6ed3ce468ef0f.zip |
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>
Diffstat (limited to '.github/workflows/build-toolchains.yml')
-rw-r--r-- | .github/workflows/build-toolchains.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build-toolchains.yml b/.github/workflows/build-toolchains.yml index 1031951a..4267d131 100644 --- a/.github/workflows/build-toolchains.yml +++ b/.github/workflows/build-toolchains.yml @@ -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' }} |