-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
8 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|