Skip to content

Commit

Permalink
Build with Nim 2.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dsrw committed Jun 14, 2024
1 parent 873bb17 commit 30c1144
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dist_linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dist_mac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dist_win.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 30c1144

Please sign in to comment.