Skip to content

Commit 2e14d44

Browse files
committed
update workflow
Signed-off-by: George Lemon <georgelemon@protonmail.com>
1 parent 54b08d0 commit 2e14d44

1 file changed

Lines changed: 17 additions & 14 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ jobs:
77
nim-version: stable
88
os: '[{"os":"ubuntu-latest"},{"os":"windows-latest"},{"os":"macos-15-intel"}]'
99
pre-install-command: |
10-
npm install cmake-js -g
11-
clue install denim --build
12-
clue install https://github.com/nimbase/nimbase --build
1310
if [ "$RUNNER_OS" = "Linux" ]; then
1411
sudo apt-get update
1512
sudo apt-get install -y \
@@ -21,20 +18,26 @@ jobs:
2118
brew install luajit php ruby python3
2219
elif [ "$RUNNER_OS" = "Windows" ]; then
2320
choco install -y luajit php ruby python3
21+
export PATH="/c/tools/ruby34/bin:/c/tools/php:/c/tools/luajit:$PATH"
2422
fi
23+
npm install cmake-js -g
24+
nimble install -y https://github.com/nimbase/nimbase
2525
pre-test-command: |
26+
if [ "$RUNNER_OS" = "Windows" ]; then
27+
export PATH="/c/tools/ruby34/bin:/c/tools/php:/c/tools/luajit:$PATH"
28+
fi
2629
if [ "$RUNNER_OS" = "Linux" ]; then
27-
clue ruby
28-
clue php
29-
clue python
30-
clue lua
30+
clue task ruby
31+
clue task php
32+
clue task python
33+
clue task lua
3134
elif [ "$RUNNER_OS" = "macOS" ]; then
32-
clue ruby
33-
clue php
34-
clue python
35-
clue lua
35+
clue task ruby
36+
clue task php
37+
clue task python
38+
clue task lua
3639
elif [ "$RUNNER_OS" = "Windows" ]; then
37-
clue php
38-
clue python
39-
clue lua
40+
clue task php
41+
clue task python
42+
clue task lua
4043
fi

0 commit comments

Comments
 (0)