This commit is contained in:
Samuel Sadok
2020-11-19 15:32:50 +01:00
parent 287dd47b8f
commit f150114d77
2 changed files with 7 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ jobs:
run: |
Invoke-WebRequest -Uri "http://gittup.org/tup/win32/tup-latest.zip" -OutFile ".\tup-latest.zip"
Expand-Archive ".\tup-latest.zip" -DestinationPath ".\tup-latest" -Force
echo "::add-path::$(Resolve-Path .)\tup-latest"
echo "$(Resolve-Path .)\tup-latest" >> $GITHUB_PATH
choco install gcc-arm-embedded # downloads https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/gcc-arm-none-eabi-9-2019-q4-major-win32.zip

View File

@@ -16,7 +16,11 @@ jobs:
steps:
- name: Install odrivetool
run: |
pip3 install monotonic # TODO: this is dishonest. Must be removed as soon as v0.5.0 is published!
# TODO: this is a workaround for https://github.com/pypa/setuptools/issues/2353 and we
# can remove it as soon as python3-setuptools on GitHub's ubuntu-latest
# moves to version 50.1+.
pip3 list | grep setuptools # show version
export SETUPTOOLS_USE_DISTUTILS=stdlib
pip3 install odrive
# This one currently fails because Github Actions runs pip as non-root
@@ -27,7 +31,7 @@ jobs:
# This step is mentioned in the user guide
- name: Add ~/.local/bin to path
if: matrix.os == 'ubuntu-latest'
run: echo "::add-path::~/.local/bin"
run: echo "~/.local/bin" >> $GITHUB_PATH
- name: Launch odrivetool
# This returns a non-zero exit code if the odrivetool throws an exception