Mamy André-Ratsimbazafy 2020-12-13 15:28:51 +01:00
parent 13e6b7dfe6
commit f0b18ecfe0
No known key found for this signature in database
GPG Key ID: 7B88AD1FE79492E1
1 changed files with 4 additions and 4 deletions

View File

@ -89,7 +89,7 @@ jobs:
exec $(which g++) -m32 "\$@" exec $(which g++) -m32 "\$@"
EOF EOF
chmod 755 external/bin/gcc external/bin/g++ chmod 755 external/bin/gcc external/bin/g++
echo '::add-path::${{ github.workspace }}/external/bin' echo '${{ github.workspace }}/external/bin' >> $GITHUB_PATH
- name: Install dependencies (macOS) - name: Install dependencies (macOS)
if: runner.os == 'macOS' if: runner.os == 'macOS'
@ -109,15 +109,15 @@ jobs:
curl -L "https://nim-lang.org/download/windeps.zip" -o external/windeps.zip curl -L "https://nim-lang.org/download/windeps.zip" -o external/windeps.zip
7z x "external/mingw$arch.7z" -oexternal/ 7z x "external/mingw$arch.7z" -oexternal/
7z x external/windeps.zip -oexternal/dlls 7z x external/windeps.zip -oexternal/dlls
echo '::add-path::${{ github.workspace }}'"/external/mingw$arch/bin" echo '${{ github.workspace }}'"/external/mingw$arch/bin" >> $GITHUB_PATH
echo '::add-path::${{ github.workspace }}'"/external/dlls" echo '${{ github.workspace }}'"/external/dlls" >> $GITHUB_PATH
choco install msys2 choco install msys2
pacman -S mingw-w64-x86_64-gmp pacman -S mingw-w64-x86_64-gmp
- name: Setup environment - name: Setup environment
shell: bash shell: bash
run: echo '::add-path::${{ github.workspace }}/nim/bin' run: echo '${{ github.workspace }}/nim/bin' >> $GITHUB_PATH
- name: Get latest Nim commit hash - name: Get latest Nim commit hash
id: versions id: versions