File tree Expand file tree Collapse file tree 2 files changed +7
-26
lines changed Expand file tree Collapse file tree 2 files changed +7
-26
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ jobs:
24
24
version : ${{ matrix.nimversion }}
25
25
env :
26
26
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27
- - name : Install Atlas
27
+ - name : Install Nimble
28
28
run : |
29
+ nimble install nimble
29
30
nim -v
30
31
nimble -v
31
- nimble install 'https://github.com/nim-lang/atlas@#78b6814a05ec1b18eef388c7336f583eb6e9993f'
32
32
33
33
- name : Cache packages
34
34
uses : actions/cache@v3
39
39
- name : Install Deps
40
40
run : |
41
41
# sync deps
42
- atlas replay --cfgHere --ignoreUrls atlas.lock
43
- cat nim.cfg
42
+ nimble install -d --verbose
44
43
45
44
- name : Build Tests
46
45
run : |
47
- nim test
46
+ nimble test
Original file line number Diff line number Diff line change @@ -16,43 +16,25 @@ jobs:
16
16
- uses : actions/checkout@v1
17
17
with :
18
18
path : " fig_ws/"
19
- - name : Move
20
- run : |
21
- cd ../
22
- mv fig_ws/ figuro
23
- mkdir fig_ws/
24
- mv figuro/ fig_ws/figuro
25
- pwd
26
- find . | grep -v .git
27
19
- uses : iffy/install-nim@v4
28
20
with :
29
21
version : ${{ matrix.nimversion }}
30
22
env :
31
23
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
24
33
- - name : Install Atlas
25
+ - name : Install Nimble
34
26
run : |
27
+ nimble install nimble
35
28
nim -v
36
29
nimble -v
37
- nimble install 'https://github.com/nim-lang/atlas@#78b6814a05ec1b18eef388c7336f583eb6e9993f'
38
-
39
- - name : Cache packages
40
- uses : actions/cache@v3
41
- with :
42
- path : vendor
43
- key : ${{ runner.os }}-${{ hashFiles('figuro/atlas.lock') }}
44
30
45
31
- name : Install Deps
46
32
run : |
47
33
# new atlas workspace
48
- atlas init --deps=vendor
49
-
50
- # sync deps
51
- atlas replay --cfgHere --ignoreUrls figuro/atlas.lock
34
+ nimble install -d --verbose
52
35
53
36
- name : Test build From fig_ws/
54
37
run : |
55
- ls vendor/
56
38
nim c figuro/tests/tclick.nim
57
39
58
40
- name : Build Tests
You can’t perform that action at this time.
0 commit comments