From 30c1144884d47af1a0f13204890f3cd1e327509c Mon Sep 17 00:00:00 2001 From: Scott Wadden Date: Thu, 13 Jun 2024 23:09:41 -0300 Subject: [PATCH] Build with Nim 2.0.4 --- .github/workflows/dist_linux.yaml | 6 +++--- .github/workflows/dist_mac.yaml | 6 +++--- .github/workflows/dist_win.yaml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/dist_linux.yaml b/.github/workflows/dist_linux.yaml index 7b46c9f6..3f9e5f7e 100644 --- a/.github/workflows/dist_linux.yaml +++ b/.github/workflows/dist_linux.yaml @@ -12,14 +12,14 @@ jobs: - name: Install Nim run: | cd $HOME && - curl -O https://nim-lang.org/download/nim-2.0.2-linux_x64.tar.xz && - tar xf nim-2.0.2-linux_x64.tar.xz + curl -O https://nim-lang.org/download/nim-2.0.4-linux_x64.tar.xz && + tar xf nim-2.0.4-linux_x64.tar.xz - name: Install Nim and build deps run: | sudo apt-get update sudo apt-get install build-essential scons pkg-config libx11-dev libxcursor-dev libxinerama-dev libgl1-mesa-dev libglu-dev libasound2-dev libpulse-dev libudev-dev libxi-dev libxrandr-dev - name: Update path - run: echo "$HOME/.nimble/bin:$HOME/nim-2.0.2/bin" >> $GITHUB_PATH + run: echo "$HOME/.nimble/bin:$HOME/nim-2.0.4/bin" >> $GITHUB_PATH - name: Install nimble deps run: nimble setup -y - name: Save SHAs of submodules diff --git a/.github/workflows/dist_mac.yaml b/.github/workflows/dist_mac.yaml index 4d99bc97..f680a476 100644 --- a/.github/workflows/dist_mac.yaml +++ b/.github/workflows/dist_mac.yaml @@ -45,9 +45,9 @@ jobs: run: brew install nim scons yasm - name: Install nim run: | - curl -LO https://github.com/nim-lang/nightlies/releases/download/2023-12-15-version-2-0-c4c44d10df8a14204a75c34e499def200589cb7c/nim-2.0.2-macosx_x64.tar.xz - tar xzf nim-2.0.2-macosx_x64.tar.xz - echo "$(pwd)/nim-2.0.2/bin" >> $GITHUB_PATH + curl -LO https://github.com/nim-lang/nightlies/releases/download/2024-03-28-version-2-0-b47747d31844c6bd9af4322efe55e24fefea544c/nim-2.0.4-macosx_x64.tar.xz + tar xzf nim-2.0.4-macosx_x64.tar.xz + echo "$(pwd)/nim-2.0.4/bin" >> $GITHUB_PATH - name: Update path run: echo "$HOME/.nimble/bin" >> $GITHUB_PATH - name: Install nimble deps diff --git a/.github/workflows/dist_win.yaml b/.github/workflows/dist_win.yaml index 06cb25ed..00184f29 100644 --- a/.github/workflows/dist_win.yaml +++ b/.github/workflows/dist_win.yaml @@ -12,14 +12,14 @@ jobs: - name: Install Nim run: | cd ${HOME} - C:\msys64\usr\bin\wget.exe https://nim-lang.org/download/nim-2.0.2_x64.zip - 7z.exe x nim-2.0.2_x64.zip -y + C:\msys64\usr\bin\wget.exe https://nim-lang.org/download/nim-2.0.4_x64.zip + 7z.exe x nim-2.0.4_x64.zip -y - name: Install build deps run: choco install yasm innosetup rcedit zip reshack - name: Install scons run: python -m pip install scons - name: Update path - run: echo "${HOME}/.nimble/bin;${HOME}/nim-2.0.2/bin;C:\msys64\mingw64\bin;C:\Program Files (x86)\Resource Hacker" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + run: echo "${HOME}/.nimble/bin;${HOME}/nim-2.0.4/bin;C:\msys64\mingw64\bin;C:\Program Files (x86)\Resource Hacker" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - name: Install nimble deps run: nimble setup -y - name: Save SHAs of submodules