Skip to content

Commit

Permalink
Update build to Nim 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dsrw committed Jan 15, 2024
1 parent 9063a19 commit dfc271a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/dist_linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@ jobs:
- name: Install Nim
run: |
cd $HOME &&
curl -O https://nim-lang.org/download/nim-1.6.14-linux_x64.tar.xz &&
tar xf nim-1.6.14-linux_x64.tar.xz
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
- 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-1.6.14/bin" >> $GITHUB_PATH
- name: Install Nimble 0.14.2
run: nimble install -y [email protected]
run: echo "$HOME/.nimble/bin:$HOME/nim-2.0.2/bin" >> $GITHUB_PATH
- name: Install nimble deps
run: nimble setup
- name: Save SHAs of submodules
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/dist_mac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,11 @@ jobs:
run: brew install nim scons yasm
- name: Install nim
run: |
curl -LO https://github.com/nim-lang/nightlies/releases/download/2023-06-27-version-1-6-71ba2e7f3c5815d956b1ae0341b0743242b8fec6/nim-1.6.14-macosx_x64.tar.xz
tar xzf nim-1.6.14-macosx_x64.tar.xz
echo "$(pwd)/nim-1.6.14/bin" >> $GITHUB_PATH
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
- name: Update path
run: echo "$HOME/.nimble/bin" >> $GITHUB_PATH
- name: Install Nimble 0.14.2
run: nimble install -y [email protected]
- name: Install nimble deps
run: nimble setup
- name: Save SHAs of submodules
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/dist_win.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@ jobs:
with:
fetch-depth: 0
- name: Install Nim
run: choco install nim --version=1.6.14
run: choco install nim --version=2.0.2
- 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;C:\tools\Nim\nim-1.6.14\bin;C:\msys64\mingw64\bin;C:\Program Files (x86)\Resource Hacker" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Install Nimble 0.14.2
run: nimble install -y [email protected]
run: echo "${HOME}/.nimble/bin;C:\tools\Nim\nim-2.0.2\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
- name: Save SHAs of submodules
Expand Down

0 comments on commit dfc271a

Please sign in to comment.