File tree Expand file tree Collapse file tree 2 files changed +12
-60
lines changed Expand file tree Collapse file tree 2 files changed +12
-60
lines changed Original file line number Diff line number Diff line change @@ -13,32 +13,24 @@ jobs:
13
13
steps :
14
14
- name : Checkout std
15
15
uses : actions/checkout@v2
16
-
17
- - name : Download Linux artifact
18
- uses : dawidd6/action-download-artifact@v2
16
+
17
+ - uses : robinraju/release-downloader@v1.5
19
18
with :
20
- github_token : ${{secrets.GITHUB_TOKEN}}
21
- workflow : ci.yml
22
- branch : dev
23
- name : ubuntu-gcc-10
24
- path : bin
25
- repo : ArkScript-lang/Ark
26
-
19
+ latest : true
20
+ repository : ArkScript-lang/Ark
21
+ fileName : " linux-gcc-11.zip"
22
+
27
23
- name : Set up files
28
24
shell : bash
29
25
run : |
30
- cd bin
31
- cp lib/*.arkm ../
32
- chmod u+x arkscript *.so
33
- cp arkscript ../
34
- cp *.so ../
26
+ unzip linux-gcc-11.zip
27
+ chmod u+x arkscript *.so lib/*.arkm
28
+ cp lib/*.arkm ./
35
29
36
30
- name : Tests
37
31
shell : bash
38
32
run : |
39
33
./arkscript --version
40
- if [ -f tests/all.ark ]; then
41
- ./arkscript tests/all.ark -L ./
42
- else
43
- echo "No tests found"
44
- fi
34
+ for f in tests/*.ark; do
35
+ ./arkscript $f -L ./
36
+ done
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments